react-native-scrollable-tab-view icon indicating copy to clipboard operation
react-native-scrollable-tab-view copied to clipboard

Landscape mode

Open michalraska opened this issue 11 years ago • 9 comments

In landscape mode has children still the same width and tab at left side is partially displayed too.

screen shot 2015-06-25 at 15 10 04

michalraska avatar Jun 25 '15 13:06 michalraska

Hi @michalraska - I haven't made this compatible with landscape mode yet - we would need to update the deviceWidth when we rotate the device, if you have time to submit a pull request for that it would be much appreciated!

brentvatne avatar Jun 25 '15 14:06 brentvatne

Is currently possible to somehow find out orientation (landscape | portrait) of device now? If no, would be ok to create another dependency on: https://github.com/pjjanak/react-native-viewport?

michalraska avatar Jun 25 '15 14:06 michalraska

@michalraska - I'm okay with adding that dependency!

brentvatne avatar Jun 25 '15 15:06 brentvatne

I'm sorry but I find out I don't need scrollable tabs be cause it does not play good with touchables in list view. Maybe later I will try to fix it.

michalraska avatar Jun 26 '15 08:06 michalraska

Sure @michalraska :smile:

One thing you might want to look at is the recently added edgeHitWidth which would allow this lib to place better with touchables in list view.

brentvatne avatar Jun 26 '15 18:06 brentvatne

https://github.com/DrMabuse23/react-native-device-orientation maybe this helps you out trigger on orientation change

DrMabuse23 avatar Jul 21 '15 13:07 DrMabuse23

This is actually a pretty important one. Has anyone taken the issue yet?

avindra avatar Dec 13 '15 23:12 avindra

@avindra - I don't think so, if you get a chance to look into it that would be appreciated

brentvatne avatar Dec 14 '15 01:12 brentvatne

Has this issue been fixed? I'm still hitting this problem

bobloblaws93 avatar Aug 18 '16 17:08 bobloblaws93