Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: DateTimepicker on input elements in modal dialog

iMDatec_tkunick priority asked 5 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 5 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