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

[fix] Reset default values when DropdownList component unmounts #2648

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

igorDykhta
Copy link
Collaborator

  • Reset default values when DropdownList component unmounts. If a component re-renders, this.page is 1 instead of 0 and the dropdown will either not render at all (if the options list isn't paginated) or will not start at the beginning of paginated options.

Copy link

netlify bot commented Sep 11, 2024

Deploy Preview for keplergl2 ready!

Name Link
🔨 Latest commit 5b5ccce
🔍 Latest deploy log https://app.netlify.com/sites/keplergl2/deploys/66e1a172208a660008db35b1
😎 Deploy Preview https://deploy-preview-2648--keplergl2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@igorDykhta igorDykhta merged commit 406b978 into master Sep 12, 2024
11 of 12 checks passed
@igorDykhta igorDykhta deleted the igr/ups/reset-default-dropdown-list branch September 12, 2024 22:41
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