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

TablePagination not accepting prop changes #369

Closed
StrikeForceZero opened this issue May 17, 2017 · 0 comments
Closed

TablePagination not accepting prop changes #369

StrikeForceZero opened this issue May 17, 2017 · 0 comments
Labels
Milestone

Comments

@StrikeForceZero
Copy link

StrikeForceZero commented May 17, 2017

Description

TablePagination appears to stop accepting prop changes after its mounted.

The example linked below demonstrates a TablePagination component that will "dsync" from the parent state, if modified by an external control. Below that there is also a workaround using the key prop to force remounting of the component.

Instructions:

  1. Navigate to page 3 of the Top TablePagination component provided.
  2. Click the purple button with the label "Goto first page".

Compare both TablePagination components.

Link to a gist or code sample where the issue can be reproduced

https://codesandbox.io/s/rknQn1mLw

Version

  • React 15.4-5.x
  • React-MD 1.0.13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants