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: tabbing and tabIndex in modal broke?

drimaco free asked 2 years ago


Expected behavior

1.Problem

Modal open, press tab, input "value2" is selected, press tab, then input "value3" is selected, press tab, then input "value1" is selected, press tab, then button is selected

2.Problem

Modal open, klick in "value2", press tab, input "value3" is selected, press tab, input "value1" is selected, press tab, button is selected

Actual behavior

1.Problem

Modal open, press tab, input "value1?" is selected, press tab, then input "value2" is selected, press tab, then input "value3" is selected, press tab, then button is selected

2.Problem

Modal open, click in "value2", press tab, input "value1?" is selected, press tab, input "value2" is selected, press tab, input "value3" is selected, press tab, button is selected

Resources (screenshots, code snippets etc.)

https://github.com/txmazing/MDBModalissue3


drimaco free answered 2 years ago


The second Problem is still not fixed.

In an modal the tabindex is not continue to the next input, in case i changed focus manually by clicking in an other inputfield.

Also the Datepickers tabindex cannot set for the inputfield itself and the calenderbutton. Also the Datepicker still changes the right margin of the site hardcoded and not by the width of the maybe customized scrolllbar.


Krzysztof Wilk staff commented 2 years ago

Hi!

That's must be an issue with our focus trap implementation. We will check it once again as well as Datepicker :)

Keep coding!


drimaco free commented 2 years ago

Okay, thank you :)


Krzysztof Wilk staff answered 2 years ago


Hi!

Thanks for reporting that. We will fix this as soon as possible.

Keep coding!



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: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: MDB5 2.3.0
  • Device: PC
  • Browser: Chrome
  • OS: Chrome 98.0.4758.82 Win11
  • Provided sample code: No
  • Provided link: Yes