Large tables cause the view to scroll down upon update
Description
Adding or removing rows or columns to a table can cause the view to scroll down the page. Changing the theme produces the same effect.
My guess is that the table momentarily becomes raw text, which is shorter than a table row. Then, the text expands back into a table and pushes the screen down with it
Reproducing
Create a file with a (sufficiently large) table at the top and many lines of text at the bottom. Add a row to the bottom of the table.
or: while the large table is in frame, change themes.
Zettlr Version
2.3.0 (UUID: 56bb8ed2-45e8-4c39-a961-66a2589fd908) running on win32 10.0.19043 (architecture: x64)
Installation Method
From the Website
Your Platform
- [x] Windows
- [ ] macOS
- [ ] Linux
Architecture
- [x] ARM 64bit
- [ ] Intel 64bit
Operating System Version
Windows 10
Additional Information
No response
Thanks so much for opening up your first issue here on the repository! 🎉 We would like to warmly welcome you to the community behind the app! ☺️ We'll check in soon and have a look at your issue. In the meantime, you can check your issue and make sure it aligns with our contribution guidelines! Here's the comprehensive list:
Enhancements
An enhancement takes a feature and improves or alters its behaviour. Please make sure to argue how your proposition will aid non-technical text workers, and why it can't be emulated easily with other features or apps!
Feature requests
Feature requests introduce whole new features into the app. This requires a lot of work, so these might be turned down if the implementation costs supersede the benefits we expect to see from implementing it. Please do not be disappointed if that happens. It likely has nothing to do with your great request but simply with us and our missing resources! You can of course always ask someone to implement this feature, because a PR with a working new feature has much higher chances of being merged! :)
Bug reports
Please note that one of the main reasons for why bug reports cannot be addressed is that there's not enough information for us to find and fix the bug you describe, so make sure you try to pinpoint the bug as close as possible. The ideal bug report for us has two qualities:
- The bug is always reproducible, at least within a certain context. 2. We know exactly what specifically goes wrong, and there is consensus on what should happen instead.
Please note that if you encounter behaviour that does not align with your expectations of what would happen, this might as well be simply intended behaviour and we need to simply clarify why the behaviour is the way it is. This is not to be considered a bug and such issues may be closed! Suggest an enhancement instead! But now, have a great day and thank you again!
Note that the screen does not scroll if the table is at the bottom of the text file. there must be lines under the table. From my experiments, it seems like the table must be taller than the viewport in order for the improper scrolling to occur.