Topic: DateTimepicker on input elements in modal dialog

iMDatec_tkunick priority asked 4 months ago


Expected behavior

  • DateTimepicker focus remains on the selected input element. Scrollbar have to stay in current position.

Actual behavior

  • After selecting the input element, the focus jumps to the first activated element in the modal dialog, with the scrollbar moving to the beginning.

  • Any container definition was not successful

  • We had the same problem with mdb.select elements in the past. Here we were able to solve the problem by defining a container (data-mdb-container) with reference to the ID of the modal div element. Unfortunately, the same does not work here.

Resources (screenshots, code snippets etc.)

enter image description here

Use case not in:MDB Documentation


Kamila Pieńkowska staff answered 4 months ago


Can you provide a snippet that demonstrates this behavior?



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

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 7.2.0
  • Device: ThinkPad
  • Browser: Microsoft Edge
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes