-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Closed
Description
Version
Latest master. 2787c34
Not reproducible against 3.0.0-rc.5
Reproduction link
https://codesandbox.io/s/morning-smoke-htz9v?file=/index.html
Steps to reproduce
- Click the 'Reload' button. Note the text 'Loading' and a load mask.
- Wait 2 seconds for loading to complete.
- Click one of the radio buttons to change the
id. - Note that the word 'Loading' appears but the load mask does not. This is wrong, the load mask should be showing.
- Try quickly clicking between the radio buttons. This forces a rendering update and will force the load mask to show.
What is expected?
The load mask should show when a radio button is clicked.
What is actually happening?
Only the 'Loading' message is shown, not the load mask.
It works correctly with flush: 'post'. It doesn't work with flush: 'pre' or flush: 'sync'. This example works with all 3 against rc.5.
To reiterate the key steps here:
- The radio button changes the
idin the parent. - The parent updates, passing the
idas a prop to the child. - The child uses a watcher to respond to the change in
id. - The watcher triggers the global loading flag.
- The loading flag should cause the parent to update again, but it doesn't.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels