Comments (12)
Hey, amazing package. Thank you for your hard work.
I'm also experiencing this on Android with BottomSheetFlatList, but iOS works great.
from react-native-bottom-sheet.
@rkrueger11 thanks for submitting this bug, i'll look into it later today 👍
from react-native-bottom-sheet.
Thanks @gorhom. I'll get some sample code posted tomorrow. Sorry was hoping to get there today. Great work on this package though!
from react-native-bottom-sheet.
@gorhom So for me this is the code (below) that causes the non responsive BottomSheetScrollView when the panel reaches max snap point. In usage I am able get the BottomSheetScrollView responsive again my pulling down a little on the BottomSheet and letting it re-snap to the max snap point.
Basically setting state from with in the handleSheetChange callback can cause this problem
This code can be use with in the BasicExamples.tsx
Line 29 or file attached
BasicExamples.tsx.txt
const [stateItem, setStateItem] = useState(0)
// callbacks
const handleSheetChange = useCallback(index => {
console.log('handleSheetChange', index);
setStateItem(index)
}, []);
And thanks - its a really nice component.
from react-native-bottom-sheet.
I believe this is the same issue I'm experiencing. #51
from react-native-bottom-sheet.
@rkrueger11 i tried from my side, seems working, but i would appreciate if you could provide a reproducible sample code :)
from react-native-bottom-sheet.
hi @rkrueger11, could you try again with v1.4 release, it should provide more stability :)
from react-native-bottom-sheet.
@gorhom Tried with 1.4.1 release and still having the issue, though I think it's probably with my react-navigation
wrapper around it, so this can be closed.
from react-native-bottom-sheet.
Hi @rkrueger11 I'm having this same issue, did you find the cause to this ? Thanks.
from react-native-bottom-sheet.
hi @Gnative would mind provide reproducible sample code ?
from react-native-bottom-sheet.
Sure. I'll try my best. Still working on it being my misunderstanding on how to implement the BottomSheetScrollView
from react-native-bottom-sheet.
thanks for the sample ,,, i'll look into it today and i'll make sure to get it fix asap :)
from react-native-bottom-sheet.
Related Issues (20)
- [v4] | [v2] Having trouble figuring out where to place <BottomSheetModalProvider> and <GestureHandlerRootView> HOT 2
- Gorhom bottom sheet crash error HOT 1
- [v4] | [v2] Issue title HOT 1
- Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNGestureHandlerModule' HOT 1
- [v4] | [v2] When using BottomSheetTextInput as footer in BottomSheetFlatList, keyboard is dismissed on value change HOT 2
- [v4] | BottomSheet not showing when canceling native permissions HOT 1
- Render content (lazy load) only when sheet is opened. HOT 1
- [v4] Render content (lazy load) only when sheet is opened. HOT 2
- [v4] Exception in HostFunction: expected 0 arguments, got 1 HOT 2
- [v4] | [v2] Can't get bottom-sheet to work in my project
- [v4] | [v2] HOT 3
- Many "Module not found errors" react-native HOT 1
- [v4] | [v2] Module not found: react-native HOT 4
- [v4] | [v2] Android Scrollable component issue | RN 0.73.6 | bottom sheet 4.6.1 HOT 1
- [web] close modal when click outside HOT 3
- [v4] | [v2] enablePanDownToClose doesn't update dynamically
- [v4] drawer border radius
- [v4] | Keyboard pushing bottom sheet content to screen top, with empty space in between HOT 6
- [v4] When enableContentPanningGesture is false on BottomSheetModal, cant scroll on IOS. Android is working fine HOT 2
- [v4] When enableContentPanningGesture is false on BottomSheetModal, cant scroll on IOS. Android is working fine HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-bottom-sheet.