Topic: Is there a OnScroll function for vectormap?

Ominous Vibes priority asked 1 year ago

Is there an onScroll function to which I can bind a function? I need to hide a few elements when the vector map is focused, is that possible?


Krzysztof Wilk staff answered 1 year ago


I think this is achievable by using a mutation observer to check changes in the root div element of the vector map. I'm afraid there are no built-in events in Vector Maps but we'll add them as soon as possible :)

Keep coding!

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 4.0.0
  • Device: pc
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No