Skip to content
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

Shifted innerCircle when changing device orientation #87

Open
JB712 opened this issue Jan 29, 2024 · 1 comment
Open

Shifted innerCircle when changing device orientation #87

JB712 opened this issue Jan 29, 2024 · 1 comment

Comments

@JB712
Copy link

JB712 commented Jan 29, 2024

It seems like when I change my emulator orientation (portrait/landscape), everything rerender ok but not the icons from the central line. They are shifted (side depends on the starting orientation). Even when I use dots or default circle element.
I use RN 0.72.9 and react-native-timeline-flatlist 0.8.0, on an android emulator.

@JB712
Copy link
Author

JB712 commented Jan 30, 2024

Ok this is a simple test to adapt display to screen size that is not exhaustive (at least in my case).
I am using a custom renderTime, renderDetails, and i build a different React component Icon (from recta-native-element) for each data to be displayed as innerCircle.

Here is my correction : react-native-timeline-flatlist+0.8.0.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant