Is your issue REALLY a bug?
Is there an existing issue for this?
Is this issue related to iced?
What happened?
Using the scrollable example, I added .autoscroll(true) to each scrollable and then running the program, I clicked the middle button, moved the mouse and nothing happens. I'm using linux mint. I examined the code and found that the mouse middle button click was happening but it was immediately being canceled. On further investigation I determine the canceling was happening at line 725,
| Event::Keyboard(keyboard::Event::KeyPressed { .. }| keyboard::Event::KeyReleased { .. })
In this statement, the keyboard modifier events are being checked too. In some systems, modifiers can be fired from the system. Therefore, I changed the 725 line to simply | Event::Keyboard(_) and all works ok now.
What is the expected behavior?
See above
Version
master
Operating System
Linux
Do you have any log output?
Is your issue REALLY a bug?
Is there an existing issue for this?
Is this issue related to iced?
What happened?
Using the scrollable example, I added .autoscroll(true) to each scrollable and then running the program, I clicked the middle button, moved the mouse and nothing happens. I'm using linux mint. I examined the code and found that the mouse middle button click was happening but it was immediately being canceled. On further investigation I determine the canceling was happening at line 725,
| Event::Keyboard(keyboard::Event::KeyPressed { .. }| keyboard::Event::KeyReleased { .. })
In this statement, the keyboard modifier events are being checked too. In some systems, modifiers can be fired from the system. Therefore, I changed the 725 line to simply | Event::Keyboard(_) and all works ok now.
What is the expected behavior?
See above
Version
master
Operating System
Linux
Do you have any log output?