mirror of
https://github.com/rivo/tview.git
synced 2026-04-27 05:45:49 +03:00
[GH-ISSUE #796] Mouse Wheel Scrolling not Working for TreeView When Application Has Mouse Enabled #585
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#585
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SolarLune on GitHub (Jan 18, 2023).
Original GitHub issue: https://github.com/rivo/tview/issues/796
Hello - firstly, really love tview and this framework - it's fantastic! Thanks a ton for creating it and continually working on it! It's driving TetraTerm, my remote scene visualization tool for games made with my 3D renderer Tetra3D. Really loving how flexibly it displays while working from a terminal.
The issue I'm having is that when an Application has mouse support enabled via
Application.EnableMouse(true), TreeViews can no longer scroll using the mouse wheel. Here's a reproduction program adapted from the example in the wiki for TreeViews:This example works fine, but if you uncomment the
app.EnableMouse(true)line above, the mouse wheel no longer scrolls the tree view.@SolarLune commented on GitHub (Feb 5, 2023):
Hello, I missed this - no, I'm on Fedora Linux 37, fully updated. Sorry for forgetting to say it~
@rivo commented on GitHub (Mar 30, 2023):
Thanks for letting me know about this. It should be fixed with the latest commit.