Skip to content

Conversation

xuqingkuang
Copy link

@xuqingkuang xuqingkuang commented Mar 8, 2018

Hi, I have fixed the layout issue when screen orientation changed, now horizon orientation is supported.

The most important code is the parent component will change rowWidth when orientation changed, so componentWillReceiveProps will handle it.

BTW: state.sortable can be replace with props.sortable so that the sortable control will belong to parent component totally.

The patch is just a part of my code, because I have no the example app, please have a test.

@xuqingkuang xuqingkuang changed the title Fixed layout when screen orientation changed Fixed layout when screen orientation changed to support horizon orientation. Mar 8, 2018
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

Successfully merging this pull request may close these issues.

2 participants