Closed medied closed 5 months ago
Please see latest commits for the solution I'm proposing: instead of adding timers to keep track of exact milliseconds, we can just keep track of whether the tooltip was displayed for the whole five seconds or not. We only attempt to redisplay the tooltip if it hasn't been displayed in full duration and it's still under the display limit (2). Happy to share more of the reasoning if needed
https://phabricator.wikimedia.org/T352298
Use the Wordpress
Popover
component to fabricate our custom tooltip