[Bug]: Funky scroll list positioning
jursamaj opened this issue ยท 0 comments
General Info
- I am running a modpack
- I can reproduce this issue consistently in single-player
- I can reproduce this issue consistently in multi-player
- I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I am having the same problem.
- I am crashing and can provide my crash report(s)
- I am using the latest version of the mod
Forge version
Neoforge 1.3.0
Minecraft version
1.21.1
Mod version
1.21.1-4.0.1
Java version
8 update 421
Issue Description
After opening the compass UI and scrolling down the list, then typing in the search box, the list gets shortened to the filtered items, but the scroll position remains far down the list. This leaves a blank space, as if no items match the filter. The scroll position should always show valid items, when there are any.
Additionally, an explicit indicator of no matches found would be welcome. JEI-type mods do this by turning the search bar red when there are no matches, and changing the page count for number of found items.
To see this happening, I refer you to DireWolf20's current playthru, in video https://www.youtube.com/watch?v=IMh5bV_Cwdg . Starting at 9:10, he demonstrates the UI, including scrolling down. At 9:40, he types in the search box, and the result looks like there are no matches.
Additional Information
No response