Closed praveen970 closed 6 months ago
bottomsheet anchor map replaces statevalues when the keys are same in some scenarios
Map used for anchors use Float as Key. These key values can be same in some scenarios
Added a very small value for key that will prevent from key duplication while also not causing any issues wrt to dp
Manual Testing
This PR has considered:
Add value to Hidden state instead of Shown or Expanded state as this wont affect UX alignment anyway.
Problem
bottomsheet anchor map replaces statevalues when the keys are same in some scenarios
Root cause
Map used for anchors use Float as Key. These key values can be same in some scenarios
Fix
Added a very small value for key that will prevent from key duplication while also not causing any issues wrt to dp
Validations
Manual Testing
Pull request checklist
This PR has considered: