-
-
Notifications
You must be signed in to change notification settings - Fork 615
Description
Bug description
I did not use bard as a block builder previously, but now that I did I find the focus UX within bard confusing and it makes destructive changes (removing sets) too easy:
-
Bards sets get a blue outline when focused. However, this outline changes randomly and does not always focus what I expect it to focus. It worked a bit better before Statamic 6. The outline sometimes changes on mousedown or sometimes mouseup. Some elements don't have a focus like Button Group, Checkboxes, Asset Selector, which makes the outline suddenly disappear.
-
When focusing a bard you can easily and accidentally delete it by pressing any key (like any letter, can be undone with ctrl + z). Pressing the "delete key" would be fine to remove those sets for me, but that would still be inconsistent with the grid field implementation.
The grid field works much better in this regards and you can't delete sets accidentally. It even has a confirmation prompt if you want to remove a set.
Screen.Recording.2026-03-10.at.09.28.04.mov
How to reproduce
Create any bard field with nested sets.
Logs
Environment
Environment
Application Name: Statamic
Laravel Version: 12.53.0
PHP Version: 8.3.30
Composer Version: 2.9.5
Environment: local
Debug Mode: ENABLED
URL: localhost:8080
Maintenance Mode: OFF
Timezone: UTC
Locale: de
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: log
Cache: redis
Database: mysql
Logs: stack / single
Mail: smtp
Queue: sync
Session: redis
Storage
public/storage: NOT LINKED
Statamic
Addons: 3
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.5.0 PRO
Statamic Addons
chrisvasey/statamic-boost: dev-dependabot/composer/laravel/boost-tw-2.1
statamic-rad-pack/meilisearch: 4.0.0
statamic/eloquent-driver: 5.3.1
Statamic Eloquent Driver
Addon Settings: file
Asset Containers: file
Assets: eloquent
Blueprints: file
Collection Trees: eloquent
Collections: file
Entries: eloquent
Fieldsets: file
Form Submissions: eloquent
Forms: file
Global Sets: file
Global Variables: eloquent
Navigation Trees: eloquent
Navigations: file
Revisions: eloquent
Sites: file
Taxonomies: file
Terms: eloquent
Tokens: eloquentInstallation
Fresh statamic/statamic site via CLI
Additional details
No response