How can i ADD a 300 ms delay to a div to continue using legacy code that otherwise breaks?

Im using an Openlayers 2 Map and for some reason multiple things dont work correctly when running on newer devices without the 300m delay.

Whats my best approach to ENABLE a 300 ms delay for this Element?

Using data-tap-disabled does not work because if the browser has the delay removed it wont be recreated (makes sense…)

Do i have to intercept the events with a full size div and preventDefault and trigger them on my own after 300ms?

Could I use preventDefault, dispatchEvent and something like a queue to do this (there must be a library/lodash/underscore that does this)?

Ive never done that, if you have any code snippets id gladly take them :slight_smile: