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: Tabs change Listener and preventDefault() dont work

KeHa priority asked 1 year ago


Expected behavior When i changed the Tab where a show.mdb.tab listerner with preventDefault() should stop the tab change.

Actual behavior PreventDefault has no effect and the tab change still continue.

Resources (screenshots, code snippets etc.) https://mdbootstrap.com/snippets/standard/keha/5336242#js-tab-view


Kamila Pieńkowska staff answered 1 year ago


You need to publish a snippet to make its content available to other users or support staff.


KeHa priority commented 1 year ago

Sorry i changed it now it should works. https://mdbootstrap.com/snippets/standard/keha/5336242#html-tab-view


Kamila Pieńkowska staff commented 1 year ago

This is a bug and we need to fix it.



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 6.2.0
  • Device: ThinkCentre
  • Browser: Firefox
  • OS: Win10
  • Provided sample code: No
  • Provided link: Yes
Tags