Comments (2)
What is the state of the art here? The Web does not implement this.
from iced.
Yeah, horizontal scrolls are pretty rare, they don't show up in windows explorer anymore, terminals, most apps honestly. They're really not developed/looked at much.
The web does not implement this and that's been a problem for ages. Whenever you need to actually make a left/right moving menu, it creates a lot of friction, since web/app navigation is pretty much mouse only. Throwing in a shift key suddenly makes you stop moving when you expect to. Most people don't even know you can do that.
Hence why by now, everyone does little "scroll buttons" that jump x items left/right, and/or they manually implement swipe controls. You've probably seen them all round, the "display 3 elements and swipe/press the arrow on the side to keep scrolling through the next ones" is very common.
For my usecase, that really isn't good enough. I have a section of my app that is exclusively horizontally scrolled by design. I need to be fast and frictionless, and still usable without a hand on the keyboard.
I don't think most people use horizontal scrolls much, so I don't think this would impact people negatively (if at all). For the few that do, it would make the standard of mouse-only navigation a lot smoother. Though if the need arises, at worst we should be able to choose whether we want the shift modifier (I myself don't see why you ever would).
from iced.
Related Issues (20)
- MouseArea: enter and exit does not work inside a scrollable if the cursor is not moved
- `on_scroll` is not fired when scrolling via operations
- bug/missing-docs: manual wgpu integration using `iced-runtime` not handling any keyboard/mouse events. HOT 1
- wgpu integration example fails to build in release mode HOT 3
- Unable to Use style(..) method in text_input with latest Iced component API HOT 3
- Unable to register on_open event for combo box
- Font defaulting to default font when bolded HOT 1
- Example does not run (Windows 11) HOT 2
- Slow startup on Linux due to font loading of **all** the system fonts in `/usr/share/fonts` HOT 4
- TOFU characters while rendering unicode string HOT 1
- High CPU usage after 0.12 when leaving key pressed HOT 2
- Unresolved imports, version: 0.12.1, Os: Windows HOT 1
- Panic with widget::text_editor when pressing multiple key at the same time. HOT 1
- nix shell in DEPENDENCIES.md does not work with wayland
- Dynamic Buttons in version 0.12 HOT 1
- The button cannot display Chinese HOT 4
- Examples just exit after 341c9a3 HOT 2
- Graphical bug in Skia version on text fields when updating the value. HOT 1
- Very high CPU usage in text_editor
- Running `trunk serve` on examples results in blank web pages
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 iced.