Comments (8)
@sergiodebei
Thanks for the hint. I just fixed it and make a new release. (v5.0.4 - changes in CSS and JS)
from keen-slider.
Thank you so much for the quick response. Im gonna use it for some other new projects :)
from keen-slider.
Hey @rcbyr
Just want to let you know, The links are still firing when you drag the slider. I tried data-keen-slider-pe
on the link. Not working.
Thanks
from keen-slider.
@rcbyr data-keen-slider-pe
doesn't seem to work in "keen-slider": "6.4.1" – is there another way around this in the new version?
from keen-slider.
Hey @patrickdmccarthy,
look at the documentary. https://keen-slider.io/docs#attributes
The attribute name has changed to data-keen-slider-clickable
.
Generally, you do not need this attribute for links or buttons. They will work without this attribute. Therefore I will probably rename this attribute soon.
from keen-slider.
v6.4.1 data-keen-slider-clickable not working on angular + [routerLink]
fixed it like this
::ng-deep {
.keen-slider[data-keen-slider-moves] .linkClass {
pointer-events: none;
}
}
from keen-slider.
Hey @sagrael
can you create a codesandbox? It works for me.
from keen-slider.
data-keen-slider-clickable
just seems to disable the click events altogether - no drag is now possible. Is it possible to have both drag and no mouseup link click after dragging?
Update: Looks like my timing was just very unlucky - a bug in 6.8.0 fixed in 6.8.1 https://github.com/rcbyr/keen-slider/releases/tag/v6.8.1. It works now without the attribute.
from keen-slider.
Related Issues (20)
- scrolling issue on mobile with scroll variant of "data-keen-slider-scrollable".
- SyntaxError: Named export 'useKeenSlider' not found.
- [Angular] ReferenceError: document is not defined
- Keen-slider doesn't work properly with vue-transition.
- Slider Switches Slide After Very Short Drag
- Click while sliding with free-snap mode HOT 1
- [VanillaJS][v5] translate3d values for slides are sometimes wrong
- How to avoid skipping slides when mouse scrolling? HOT 1
- moveToIdx does not work in certain conditions HOT 3
- Dynamic content makes slides jumping between loops
- Scrolling to a Specific Element in a Multi-Element Slide
- Weird Resize Happening to All Slides HOT 1
- Control end animation speed
- Autosroll issue
- Please update documentation
- Mobile URL bar resizing causes autoplaying carousel jump to the edge of a slide on initial scroll
- Gutenberg Block: TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
- Carousel card effect
- Any way to stop or pause autoplay?
- Unable to click inside slide item
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keen-slider.