On Android, if you use a Picker and press the BACK hardware button, it closes the picker and comes back to the page. If you press the BACK hardware button again, it opens the Picker again. And it does it on a loop.
If you unfocus the Picker, it doesn't do it anymore.
The second BACK button pressed should not open the Picker.
The second BACK button pressed open the Picker.
@pierre-galaup thanks for reporting this!
It seems with the change in #5960 we are actually monitoring the right keys to open the Picker again. Unfortunately, the back button is one of the buttons we act on, wrongfully. I already had a PR in the works for another Picker bug, and I added this fix to that. I hope it should be merged soon!
Most helpful comment
@pierre-galaup thanks for reporting this!
It seems with the change in #5960 we are actually monitoring the right keys to open the Picker again. Unfortunately, the back button is one of the buttons we act on, wrongfully. I already had a PR in the works for another Picker bug, and I added this fix to that. I hope it should be merged soon!