-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reimplement/fix/complete implementation of scrollbars #554
Merged
Commits on Aug 23, 2024
-
* Implement TrackClickBehaviors correctly * Fix macOS scrollbar styling * Provide ScrollableContainers for a simple, turn-key scrollbar API * Make expanded scrollbar not hide while the mouse moves over the scrollable composable * Fix the expanding behaviour and animation on macOS * Fix the visibility logic on macOS * Resolve a number of inconsistencies with Swing implementations * Simplify and consolidate internal implementation * Separate tabStrip scrollbar styling
Configuration menu - View commit details
-
Copy full SHA for 3c5417f - Browse repository at this point
Copy the full SHA 3c5417fView commit details -
* Fix thumb colour fade in AlwaysVisible mode * Move sample border to Outside so it doesn't overlap the scrollbar
Configuration menu - View commit details
-
Copy full SHA for 95c0727 - Browse repository at this point
Copy the full SHA 95c0727View commit details -
* Rework layout/draw logic to finally align with Swing, in dark mode too * Switch to custom drawing for the thumb for more control
Configuration menu - View commit details
-
Copy full SHA for ad7ba0b - Browse repository at this point
Copy the full SHA ad7ba0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a6f50b - Browse repository at this point
Copy the full SHA 0a6f50bView commit details -
* Make bridge compile * Fix styling in bridge * Update bridge samples * Fix TextArea scrollbars
Configuration menu - View commit details
-
Copy full SHA for 1cac4a1 - Browse repository at this point
Copy the full SHA 1cac4a1View commit details -
* Fix bug in ScrollableContainer * Improve ReleasesSampleCompose
Configuration menu - View commit details
-
Copy full SHA for 71ba3e1 - Browse repository at this point
Copy the full SHA 71ba3e1View commit details -
* Rewrite MacScrollbarHelper to avoid native crashes
Configuration menu - View commit details
-
Copy full SHA for b8e49ff - Browse repository at this point
Copy the full SHA b8e49ffView commit details -
* Add decorationModifier to TextArea API (useful e.g., for padding when there are scrollbars) * Fix ScrollableContainerImpl layout logic and bugs * Fix one HorizontallyScrollableContainer using vScroll by mistake * Use HorizontallyScrollableContainer in Markdown block renderer * Update standalone sample Markdown with new APIs
Configuration menu - View commit details
-
Copy full SHA for b2b56e6 - Browse repository at this point
Copy the full SHA b2b56e6View commit details -
* Add mouse move linger behaviour to all ScrollableContainers * Add horizontal scrolling example to standalone sample * Fix ScrollableContainerImpl layout bug with WhenScrolling
Configuration menu - View commit details
-
Copy full SHA for 9241db4 - Browse repository at this point
Copy the full SHA 9241db4View commit details -
* Remove debug bg from Scrollbars sample * Fix thumb appearing/disappearing animation * Fix colour animations * Keep AlwaysVisible thumb "hovered" while dragging * Fix styling in the bridge
Configuration menu - View commit details
-
Copy full SHA for d2fbfc1 - Browse repository at this point
Copy the full SHA d2fbfc1View commit details -
* Fix InputField ignoring provided scrollbar style * Remove useless KDocs from TextArea/TextField * Clean up code * Mark non-state-based TextArea/TextField as scheduled for removal
Configuration menu - View commit details
-
Copy full SHA for beb2797 - Browse repository at this point
Copy the full SHA beb2797View commit details -
* Fix native crash when TextField/TextArea don't have a fixed width * Redo the entire BTF2-based InputField implementation, better * Expose all the new parameters that BTF2-based InputField has to the users of TextField and TextArea * Fix TextArea decoration and scrollbars
Configuration menu - View commit details
-
Copy full SHA for e66de7b - Browse repository at this point
Copy the full SHA e66de7bView commit details -
* Fix scrollbars on Windows and Linux * Fix TextArea end padding to account for scrollbar
Configuration menu - View commit details
-
Copy full SHA for 31d1b98 - Browse repository at this point
Copy the full SHA 31d1b98View commit details -
* Clean up code * Add scrollbar to undecorated TextAreas
Configuration menu - View commit details
-
Copy full SHA for 67947ce - Browse repository at this point
Copy the full SHA 67947ceView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.