I tried to implement scrollbars in smart_inventory (see scrollbars branch) and basically it does work. The issue is, if I drag the scrollbar, the formspec gets updated to show scrolled screen, at this point the scrollbar is released and I need to grab and drag them again. Expected behavior is the scrolling does continue and the scrollbar not lost the grab even the formspec is updated.
Before I open a bug report, I like to ask if I maybe overseen anything, is it possible to update formspec without loosing the scrollbar grab / drag?
scrollbar[] formspec and formspec updates
- joe7575
- Member
- Posts: 851
- Joined: Mon Apr 24, 2017 20:38
- GitHub: joe7575
- In-game: JoSto wuffi
- Location: Germany, in the deep south
Re: scrollbar[] formspec and formspec updates
I have no answer, but the same problem in my formspecs.
But I am not sure it's a bug. It is more the way how events in formspecs are handled.
But I am not sure it's a bug. It is more the way how events in formspecs are handled.
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.
- 12Me21
- Member
- Posts: 873
- Joined: Tue Mar 05, 2013 00:36
- GitHub: 12Me21
- Location: (Ignore all of my posts before 2018)
Re: scrollbar[] formspec and formspec updates
Yeah this is very annoying...
It should be relatively simple to fix, though.
It should be relatively simple to fix, though.
Who is online
Users browsing this forum: No registered users and 5 guests