-
Notifications
You must be signed in to change notification settings - Fork 14
feat: Active item portal to render item over all other content #299
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
0540905
to
bdc9288
Compare
MatiPl01
pushed a commit
that referenced
this pull request
Mar 23, 2025
# [1.4.0](v1.3.2...v1.4.0) (2025-03-23) ### Bug Fixes * Active item portal provider on web ([#312](#312)) ([d9660d2](d9660d2)) * Default keyExtractor behavior for numeric values ([#301](#301)) ([d7cf171](d7cf171)) * Flex ordering after recent changes ([#313](#313)) ([9df1fa5](9df1fa5)), closes [#310](#310) * onPress not working after disabling drag ([#307](#307)) ([d1cbdc9](d1cbdc9)), closes [#306](#306) ### Features * Active item portal to render item over all other content ([#299](#299)) ([ecfe289](ecfe289)) * Fixed items support for Sortable.Grid ([#310](#310)) ([d0cb59e](d0cb59e)), closes [#305](#305) [#999](https://github.com/MatiPl01/react-native-sortables/issues/999)
🎉 This issue has been resolved in version 1.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
This PR adds active item portal that teleports the currently dragged item above other components. It can be used to display active item above navigator or outside of the scrollable component bounds (like a
ScrollView
that clamps the content inside it).Important
The current implementation doesn't work in the
expo
example because it is not compatible with reanimated3.17.x
, where this issue withonLayout
callback not being called was resolved.Example recordings
PortalProvider
PortalProvider
Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-03-17.at.17.02.15.mp4
Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-03-17.at.17.01.39.mp4