-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Image block, Initial state on popup incorrect. #41473
Comments
Hi @richardmorrison – thanks for the report! I was not able to replicate this issue with WordPress 6.0, either with or without the Gutenberg plugin active (v. 13.3.0). Here's a screencast: gbr-image-block.movAre you experiencing this only this one specific site, or on other sites running WP 6.0 as well? |
@kathrynwp I was able to replicate this on WP 6.0 with latest GB trunk, but it only happens if you select the default.mp4I guess it could sometimes make sense to remember the last open tab of the media dialog, but it is a little confusing in this context as you have |
I am seeing the same result as Glen. |
Have fixed this issue in PR 41678. Thanks |
Description
Using the Image Block in Gutenberg, when selecting the Media Library option, the pop up starts on the Upload tab, not the Media Library tab. And also stays on the selected option, when closing and re-opening the pop up.
Step-by-step reproduction instructions
4. Pop up dialog shows the Upload Files tab first.
5. If Media Library tab is selected, on closing the pop up modal, on reopening, it stays on Media Library.. though the same happens if Upload Files tab is selected. Eg: It stays on selected state.
Screenshots, screen recording, code snippet
Environment info
WordPress 6.0 without Gutenberg plugin.
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: