Giter Site home page Giter Site logo

Comments (10)

chris-pikul avatar chris-pikul commented on May 27, 2024 2

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.

jcharbo avatar jcharbo commented on May 27, 2024 1

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.

ptomasroos avatar ptomasroos commented on May 27, 2024

Yup.

from react-native-invertible-scroll-view.

arthurjamain avatar arthurjamain commented on May 27, 2024

Removing the refreshcontrol indeed temporarily fixed the issue for me.

from react-native-invertible-scroll-view.

jpshelley avatar jpshelley commented on May 27, 2024

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.

jpshelley avatar jpshelley commented on May 27, 2024

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.

jcharbo avatar jcharbo commented on May 27, 2024

@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.

jpshelley avatar jpshelley commented on May 27, 2024

@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.

jcharbo avatar jcharbo commented on May 27, 2024

@jpshelley what's the difference between android and ios here?

from react-native-invertible-scroll-view.

jpshelley avatar jpshelley commented on May 27, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.