Skip to content
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

DataForm: datetime field update not reflected immediately in render component #68148

Open
2 of 6 tasks
gigitux opened this issue Dec 19, 2024 · 0 comments
Open
2 of 6 tasks
Labels
[Package] DataViews /packages/dataviews [Type] Bug An existing feature does not function as intended

Comments

@gigitux
Copy link
Contributor

gigitux commented Dec 19, 2024

Description

When the datetime field is updated in panel mode, the corresponding render component does not refresh immediately. Instead, the update is only reflected after the popup is closed. This issue is specific to the date field, as other fields update the view component as expected.

NOTE: When the input is updated via navigation keys, everything works as expected.

Step-by-step reproduction instructions

  1. Ensure that add Quick Edit experiment is enabled
  2. Visit wp-admin/site-editor.php?p=%2Fpage&layout=table&quickEdit=true
  3. Select a page
  4. Edit the date.
  5. Change the day via character keys.
  6. See that the preview isn't updated.
  7. Change the day via navigation keys.
  8. See that the preview is updated.

Screenshots, screen recording, code snippet

With navigation keys With character keys
Screen.Capture.on.2024-12-19.at.18-23-13.mp4
Screen.Capture.on.2024-12-19.at.18-23-46.mov

Environment info

No response

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure
@gigitux gigitux added [Package] DataViews /packages/dataviews [Type] Bug An existing feature does not function as intended labels Dec 19, 2024
@gigitux gigitux changed the title DataForm: date field update not reflected immediately in render component DataForm: datetime field update not reflected immediately in render component Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] DataViews /packages/dataviews [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

1 participant