fix(StatusQ) scrolling on macOS if mouse pointer is over StatusBaseInput

This commit fixes a scrolling on macOS using trackpad in the context
of Add Wallet Account using seed-phrase.

Considerations:
The scrolling of advanced input with seed-phrase selected was failing
when mouse pointer was moving over a word phrase.

Scrolling of the popup content in AddAccountModal would not work
when the mouse pointer was over a StatusSeedPhraseInput form
the ImportSeedPhrasePanel

The identified root cause is StatusBaseInput's flicker which captures
the mouse wheel event. It seems the trackpad wheel events are handled
differently on macOS by the flicker and not propagated to the parent.

Fixes #5355
This commit is contained in:
Stefan 2022-11-08 21:32:23 +02:00 committed by Stefan Dunca
parent 37c53d1864
commit e8b9760c4f
1 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,9 @@ import StatusQ.Core.Utils 0.1
\image status_base_input.png
For a list of components available see StatusQ.
\note The scrolling behavior of the \c StatusBaseInput is disabled for non-multiline configurations.
This is to prevent the \c StatusBaseInput capturing the macOS trackpad input from being propagated.
*/
Item {
@ -337,6 +340,7 @@ Item {
enabled: multiline
}
clip: true
interactive: multiline
TextEdit {
id: edit