Topic: Tabs change Listener and preventDefault() dont work

KeHa priority asked 10 months 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 10 months ago


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


KeHa priority commented 10 months ago

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


Kamila Pieńkowska staff commented 10 months 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