react-native-gallery icon indicating copy to clipboard operation
react-native-gallery copied to clipboard

offset of images after rotation

Open eljago opened this issue 8 years ago • 8 comments

Hello, I just tried the Demo and the images don't seem to be adapting correctly after rotating the device. Happened on both the Simulator and real Device.

simulator screen shot jul 6 2016 2 05 54 am

eljago avatar Jul 06 '16 06:07 eljago

@eljago That's a really good issue. I'll look into it asap.

ldn0x7dc avatar Jul 06 '16 06:07 ldn0x7dc

@eljago The latest release(0.0.15) should fix this bug.

ldn0x7dc avatar Jul 07 '16 03:07 ldn0x7dc

Getting a similar issue when rotating the device too fast. If I rotate back and forth after getting into this state it goes back to a fullscreen modal. screenshot

chadwilken avatar Jul 20 '16 17:07 chadwilken

@chadwilken Hi, I didn't catch your point. Could you pls post more images including:

  • a normal screenshot
  • a broken screenshot after rotated and rotated back

ldn0x7dc avatar Jul 21 '16 06:07 ldn0x7dc

@ldn0x7dc Here is a good screenshot of how it should look. I did notice when it gets messed up tapping the screen a single time fixes it.

Good This is what it looks like on Android if you rotate the device Bad

On iOS here is the proper display in portrait iOSGood Here is proper on Landscape ios This is what it looks like when you rotate quickly all the way around badddd

chadwilken avatar Jul 21 '16 21:07 chadwilken

@chadwilken Could you pls check out the latest Demo project and rotate the demo screen to see if it gets broken? I still can't reproduce your issue. I guess you are using a modal to hold the gallery, so I modified the Demo project to simulate your case.

ldn0x7dc avatar Jul 22 '16 03:07 ldn0x7dc

@ldn0x7dc the demo project works perfect for ios on android it still is off when you rotate the device to landscape.

chadwilken avatar Jul 22 '16 14:07 chadwilken

On Android this is what I get when I run the demo project

android

and after rotating this is what I get

bad

The console logs

console

chadwilken avatar Jul 22 '16 14:07 chadwilken