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.

Button becomes un-clickable on scrolling to next page

See original GitHub issue

I have the following sandbox: https://codesandbox.io/s/svelte-typescript-forked-l0d9f?file=/src/App.svelte:379-392

As you can see when you click on the first one button there is a log message but clicking on the second one button nothing happens.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
fnavarijocommented, May 17, 2022

Hello everyone. I also have the same issue, only for mobile and mobile mode in the browser. Playing a little bit with the source code, I was able to find that the responsible is this line: https://github.com/vadimkorr/svelte-carousel/blob/67c227995b439046c0346a8935e594927b0801ae/src/actions/swipeable/swipeable.js#L73

The handleUp is being called by the event added on handleDown function on the same file. Is there any reason why the event.preventDefault() was added there?

0reactions
vadimkorrcommented, Sep 3, 2022

Released in 1.0.20

Read more comments on GitHub >

github_iconTop Results From Across the Web

Button items become unclickable when overlay with video ...
I'm trying to build a grid selection button where when user clicks 1x1, then only one video will be display.
Read more >
Coding An Unclickable Button In JavaScript - YouTube
Normally we do practical tutorials on this channel.. but this time let's code a very simple button that will move away from your...
Read more >
Unclickable Area When Scroll Bars Set to Show "When ...
This is an issue when a button is placed on the far right side of the portal row: the button is entirely visible,...
Read more >
Button not clickable, only after scrolling page - Ruby on Rails
Hi, For my latest Rails project, I'm using the One Page Scroll plugin, to give the homepage one page scroll features.
Read more >
Buttons inside an iframe are unclickable on iOS devices
Problem. Buttons inside iframe or RadWindow that have background image applied via CSS, become unclickable if the frame's content will get big enough...
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