dbgate
dbgate copied to clipboard
BUG: Mac - Horizontal scrolling not working
Describe the bug
Horizontal scrolling using shift + scroll not working on the data view.
To Reproduce Open a table with more columns that needs to be scrolled horizontally.
Version Information (please complete the following information):
- OS: Mac
- App Version: 5.2.7
- Install source:installer
- Type - Application
- Database engine: MySQL
I can confirm that it works under Windows, Linux and Web. Can any more Mac users confirm?
I have confirmed that correctly worked on Windows, but this bug occurred on MacOS (both Electron App and Web).
It seems that this bug happens on packages/web/src/datagrid/DataGridCore.svelte.
https://github.com/dbgate/dbgate/blob/3e8dabc1e44dda74895bf545d98fd2639954857e/packages/web/src/datagrid/DataGridCore.svelte#L1273-L1280
I have confirmed that the processing branch of the handleGridWheel function by the shift key works on MacOS.
The scrollHorizontal function may be the cause.
@ProjectInfinity I will try to fix it this weekend.