datePicker wont open on focus


Topic: datePicker wont open on focus

Michel pro asked 6 years ago

Expected behavior

Angular version of datePicker should also open on focus-in

Actual behavior

All samples of on the website work well and activate with tab key or click but the DOM of the website shows nothing similar to what it gets generated in angular and click activates the datePicker but focus-in does not.

Furthermore: If I try to handle the inputFocusBlur event which claims to be fired when the control is getting focus or leaving focus, it only catches the blur, not the focus-in and my intentions of forcing the datePicker to open via @ViewChild are extinct.

Could we have among the options or even inputs a way of telling the component to activate when entering focus?

Resources (screenshots, code snippets etc.)

None, just try it, TAB doesn't activate the datePickerBut a reference good example is what it is done in the mdbTooltip directive which accepts several events to activate with.


Arkadiusz Idzikowski staff answered 6 years ago

We are already aware of that problem and it should be resolved in next version.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.3.0
  • Device: MacBook Pro
  • Browser: Chrome 72
  • OS: macOS Mojave
  • Provided sample code: No
  • Provided link: No
Tags