Comments (4)
Hi.
This was intentional.
I know many UI frameworks fucked-up the toggle, but it was never supposed to be a click-to-toggle widget!
It came from mobile uis, where it used to behave exactly like this one - you slide to switch.
It was based on a physical, real world switch, which you "slide" to the opposite position.
That said, I know that even mobile UIs have now extended the behaviour of this, so it can be used with click-to-toggle :-(
So maybe it's time to give up to bootstraps of this world 😉
I may add the click-to-toggle but the sliding will stay too, as it's the right UX to do.
(and btw. s3schools is not a good example of anything. It has a bad reputation in the dev community, especially on the expert level, for mistakes and blunders in their docs)
from perfect-home.
Oh, that's cool. I forgot about the mobile side of things. I think you can keep the dragging behavior.
Not sure how useful this is: https://v5.material.angular.io/components/slide-toggle/examples, but they have the behavior I was describing. Underlying the toggle is a checkbox, but they keep the dragging behavior of the toggle through CSS styling.
Feel free to close this issue.
from perfect-home.
Yep, the material example is exactly what I intent to do: it allows the click but also drag!
:-)
from perfect-home.
That's fixed now and available in v0.13.5.
Thanks for pushing me :-)
from perfect-home.
Related Issues (20)
- How do I.... HOT 13
- Bug in thumbnail font HOT 3
- Old good "new tab" page tiles of bookmarks in the form of screensots HOT 1
- Option to exclude bookmarks dirs (for add-on speeding up) HOT 2
- Kiwi Browser issue android HOT 16
- favicons - add icon font? HOT 2
- dirrefent simple layout HOT 3
- Sync Thumbnail URL with Firefox Sync HOT 1
- Multi-line bookmark titles HOT 1
- new functionallty HOT 2
- Image URLs not restored/imported for Base64 encoded images HOT 1
- Option to change default state shorcut icons look for all shortcut icons. HOT 1
- Home shortcuts should be in the middle, top to bottom HOT 1
- Folders suck, "group by" tags? HOT 1
- Simplify custom icon set HOT 1
- Possible to change folder title color using a variable? HOT 2
- Mobile firefox addon HOT 2
- Remove Search Bar Animation HOT 1
- Only Include Main Folder Bookmarks in the Search Bar HOT 1
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 perfect-home.