Skip to content

Conversation

smit95tpatel
Copy link

Description

  • Situation arises when there is an already selected option, and user scrolls further away from the selected option in the options dropdown list, then when the user selects a different option, the selected option is not getting updated.
  • This PR fixes it by removing componentWillRecieveProps as it getting called every time when user selects an option.
  • Have also updated component to PureComponent for optimisation.
  • Attaching video for reference

Video reference

Screen.Recording.2023-05-05.at.10.06.08.PM.mov

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.

1 participant