Closed antoinerousseau closed 8 years ago
@antoinerousseau : I know you mentioned this:
This bug is hard to reproduce and only happens sometimes
I tried a lot to reproduce this, but I was not able to generate this behavior. Are you trying to emulate a mobile browser on chrome?
It happened in a real Android phone (Moto G). I'll let you know if it happens again.
@antoinerousseau : Appreciate your input here. Thanks!
@tintin1343 I'm using Rollbar.com to report JS errors
I am closing this issue for now as its not reproducible. If you find anything further do leave a comment below and I wlll reopen it. Thanks!
Problem Description
This bug is hard to reproduce and only happens sometimes: when selecting a time, I get this:
I believe it could be because the
Clock
is sometimes unmounted just before it is accessed through itsref
: https://github.com/callemall/material-ui/blob/a76c0889055fbc7cc854b391f915cd477f3687a8/src/TimePicker/TimePickerDialog.js#L60Maybe calling
this.dismiss();
at the end of the function would help?Versions