question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

autohide: leave requires double tap on touch devices

See original GitHub issue

Hey,

I am working on a cross plattform web app. The issue is, on touch devices, the autoHide: “leave” option requires a double tap to trigger the touch event. The first tap will show the scrollbar, and the second tap will actually trigger the touch event underneath.

touchSupport is active in my options.

                    resize: "none",
                    sizeAutoCapable: true,
                    paddingAbsolute: true,
                    scrollbars: {
                        visibility: "auto",
                        autoHide: "leave",
                        autoHideDelay: 400,
                        dragScrolling: true,
                        clickScrolling: false,
                        touchSupport: true,
                    },

Is there any way to have autoHide: “leave” for non-mobile devices and trigger the touch event on the first tap on mobile?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
KingSoracommented, Oct 25, 2021

@theo-staizen I have it on my backlog, but I couldn’t reproduce it until now… is it possible to create an video or something like that?

0reactions
KingSoracommented, Nov 12, 2022

Can you please try v2 and confirm whether this issue still persists? 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - autohide: leave requires double tap on touch devices -
I am working on a cross plattform web app. The issue is, on touch devices, the autoHide: "leave" option requires a double tap...
Read more >
Use AssistiveTouch on iPad - Apple Support
Open the AssistiveTouch menu · Go to the Home Screen · Double-tap · Perform multifinger gestures · Perform scroll gestures · Activate Siri...
Read more >
Taskbar Fails to Unhide after Auto-hide - TechNet - Microsoft
The most common behavior then, is that I move my mouse against the task bar side (I have it on the left side...
Read more >
Disable double-tap "zoom" option in browser on touch devices
If you only want to prevent double click zoom across all devices, try setting the dblclick event listener of the button to preventDefault()...
Read more >
Issues · KingSora/OverlayScrollbars - GitHub
autohide : leave requires double tap on touch devices. #285 opened on Dec 2, 2020 by itshallrun · 15 · Plans & Suggestions...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found