You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add multiple images/videos from WordPress media library
Only 1 image/video block is added
Expected behavior:
Add an image/video block
Add multiple images/videos from WordPress media library
Multiple image/video blocks are added with the selected images/videos
Root cause analysis
It looks like we are having a side effect of a recently merged PR. The code that subscribes for mediaAppend events are moved and since inserter menu is not rendered after we pick the media it won't be able to listen. We can try moving this subscription back to its old place as a solution, or anywhere more suitable which won't be unmounted along the way.
This is only observable via WordPress Android app because WordPress iOS app doesn't let multiple selection on WordPress media library currently.
The text was updated successfully, but these errors were encountered:
pinarol
changed the title
[Android] Multiple media selection adds only one image block
[Android] Multiple media selection adds only one image/video block
Sep 3, 2019
Current behavior:
Expected behavior:
Root cause analysis
It looks like we are having a side effect of a recently merged PR. The code that subscribes for mediaAppend events are moved and since inserter menu is not rendered after we pick the media it won't be able to listen. We can try moving this subscription back to its old place as a solution, or anywhere more suitable which won't be unmounted along the way.
This is only observable via WordPress Android app because WordPress iOS app doesn't let multiple selection on WordPress media library currently.
The text was updated successfully, but these errors were encountered: