Comments (3)
What's the CSS solution you've found to work? In vue-ssr-carousel I do this:
from vue-visual.
I wanted to avoid JS and use HTML or CSS. Best solution would be to use html imo, but my css solution was just using user-drag
/* Prevent dragging of thumbnails */
>>> img
-webkit-user-drag none
-khtml-user-drag none
-moz-user-drag none
-o-user-drag none
user-drag none
from vue-visual.
Cool, yeah, if you wanna make a PR for this I'd accept it. I like no-drag
(which is what vue-ssr-carousel
uses) or prevent-dragging
for the prop name because I prefer boolean props that default to false
. Also, I think you can just do user-drag none
and autoprefixer will automatically add vendor prefixes.
from vue-visual.
Related Issues (20)
- Add `poster-from-image` prop
- Add `watch-container-size` prop HOT 1
- in-viewport status continues to be updated after images load
- Demo page would be good HOT 3
- Should image with multiple sizes be based on container size rather than window?
- Add support for `playsinline` attribute HOT 7
- Not able to install through npm HOT 1
- Fix Safari issue "request is not allowed ... possibly because the user denied permission" HOT 2
- Fix Android issue "play() failed because the user didn't interact with the document first"
- Fix "undefined is not a function (evaluating 'e.canPlayType(i(t))')" issue
- Render an initial asset during SSR HOT 3
- Add max-width:100% to .vv-slot to prevent line wrapping when .vv-slot contents HOT 2
- Detect loading to support older devices/browsers HOT 1
- videoLoaded never gets set to true in some instances when video is cached HOT 2
- Make a responsive-height-craft-visual component. HOT 1
- Manual Load() method does not work HOT 1
- Don't trigger loading transition if asset already loaded in memory HOT 1
- Prevent flicker on loading animation
- Add `preload` prop which renders a preload `<link>` tag
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 vue-visual.