Skip to content

"Add Set" button inside Bard not working #11653

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

Open
wuifdesign opened this issue Apr 3, 2025 · 2 comments
Open

"Add Set" button inside Bard not working #11653

wuifdesign opened this issue Apr 3, 2025 · 2 comments

Comments

@wuifdesign
Copy link
Contributor

wuifdesign commented Apr 3, 2025

Bug description

When I click the "Add Set" button inside Bard, it sometimes doesn’t work. It appears to close immediately after opening, without giving me a chance to select anything. This issue seems to occur more frequently when many sets have already been added to the page. (no errors are shown in the console)

add-set-bug.mov

How to reproduce

Create a Bard element and add many Sets to it, save it and try to add a new set.

Logs

Environment

Environment
Application Name: ---
Laravel Version: 11.44.2
PHP Version: 8.2.28
Composer Version: 2.7.7
Environment: local
Debug Mode: ENABLED
URL: 127.0.0.1:8000
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file

Sentry
Enabled: YES
Environment: local
Laravel SDK Version: 4.13.0
PHP SDK Version: 4.10.0
Release: NOT SET
Sample Rate Errors: 100%
Sample Rate Performance Monitoring: 10%
Sample Rate Profiling: NOT SET
Send Default PII: DISABLED

Statamic
Addons: 4
Sites: 2 (English, German)
Stache Watcher: Enabled
Static Caching: Disabled
Version: 5.52.0 PRO

Statamic Addons
jacksleight/statamic-distill: 0.8.2
ndx/statamic-bard-color-picker: 2.0.1
teamnovu/statamic-images-missing-alt: 1.0.5
webographen/statamic-widget-continue-editing: 1.3.2

Installation

Fresh statamic/statamic site via CLI

Additional details

This happens local and on production environment. It may seam to be a problem with focus state of button and editor.

@duncanmcclean
Copy link
Member

Which browser are you using?

@wuifdesign
Copy link
Contributor Author

@duncanmcclean Chrome

It seems like there's an issue with the focus switch taking too long to activate the button. If I hold the mouse button for about 2-3 seconds before releasing, it works because the focus has enough time to shift during that period.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants