Comments (10)
Can confirm this is an issue as of at least [email protected]. RefreshConrol seems to be the affecting code.
from react-native-invertible-scroll-view.
I see, I think we're actually talking about two different things. I'm trying to make flatlist work with this and that is flipped for me on both IOS and android.
from react-native-invertible-scroll-view.
Yup.
from react-native-invertible-scroll-view.
Removing the refreshcontrol indeed temporarily fixed the issue for me.
from react-native-invertible-scroll-view.
With the FlatList, SectionList, VirtualizedList the RefreshControl is included regardless, is there any thoughts as to why this is happening?
Should we attempt to fix the mirror issue in this library or in React Natives's FlatList alternatives?
from react-native-invertible-scroll-view.
This fixed the issue for me, but I'm not sure about the performance hit that a transform occurs #41 (comment)
edit: Looking into it more, it may seem that this would then perform the transform twice as the InvertedScrollView itself performs a transom 🤔 might need more investigation
from react-native-invertible-scroll-view.
@jpshelley doesn't the regular version of this control preform the transform twice? Reading the code it appears to me that it flips the scroll and then flips each child. I think comment #41 just does the same thing.
from react-native-invertible-scroll-view.
@jcharbo correct, thats what I was trying to say. I think a better fit would be to submit a PR that checks if OS is Android and doesn't perform the transform on all the children.
from react-native-invertible-scroll-view.
@jpshelley what's the difference between android and ios here?
from react-native-invertible-scroll-view.
@jcharbo Notice the original comment on this issue. The mirror bug is only relevant to Android for whatever reason due to the transom y style.
from react-native-invertible-scroll-view.
Related Issues (20)
- Stange render issue on [email protected]
- Support for React Native v0.40 HOT 1
- Readme example has some errors
- Invertible scroll "compacting" rows HOT 4
- How to achieve that content is rendered starting from the screen top when first chat like wechat? HOT 2
- Is this compatible with the new FlatList component? HOT 20
- height combined with other components.
- Using Clipboard on inverted list gives wrong item data? HOT 2
- How to add support to section headers? HOT 1
- keyboard avoid problem
- react-native-invertible-scroll-view not working on Huawei Android 7 devices. HOT 4
- How can I have access to the SectionID ? HOT 1
- Doesn't work with single long component
- Opens Bottom Problem HOT 5
- Not using the props style
- Bundling failed: SyntaxError: A trailing comma is not permitted after the rest element HOT 3
- trouble with creating a horizontal rtl list in react native
- Bad scrolling with Android Pie 9 and Pixel 2 XL HOT 3
- Add project deprecation warning to the ReadME? HOT 1
- check the end of list in InvertibleScrollView?
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-invertible-scroll-view.