Skip to content

Commit 66ef2c5

Browse files
authored
Update form-datepicker.js
1 parent ffb71e7 commit 66ef2c5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/form-datepicker/form-datepicker.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,10 @@ export const BFormDatepicker = /*#__PURE__*/ Vue.extend({
383383
const idMenu = this.safeId('_dialog_')
384384
const idWrapper = this.safeId('_b-form-date_')
385385

386-
const $button = h(
386+
let $button = h('div', { attrs: { 'aria-hidden': 'true' } }, [
387+
h(isHovered || hasFocus ? BIconCalendarFill : BIconCalendar, { props: { scale: 1.25 } })
388+
])
389+
$button = h(
387390
'button',
388391
{
389392
ref: 'toggle',

0 commit comments

Comments
 (0)