Skip to content

Conversation

@duncanmcclean
Copy link
Member

@duncanmcclean duncanmcclean commented Dec 10, 2025

This pull request fixes various with the Bard Link Toolbar:

  • Corrects icon names
  • Fixes an issue where selecting a link type would close the popover.
    • This was happening due to the click event originating in the Combobox's portal, which is considered "outside" of the Popover.
    • This PR fixes it by adding a new closeOnOutsideClick prop to the Popover, like we used in v5.
  • Fixes an error when opening the entry selector
    • This was due to an added conditional around the existing button, meaning it wouldn't be rendered in some conditions.
    • This PR fixes it by adding a new openSelector method instead.

Fixes #13195
Fixes #13366

The Combobox options are rendered in their own portal, which triggers the Popover's "focus-outside" event.

We need to cancel the popover event when the user clicks a combobox option.
@duncanmcclean duncanmcclean linked an issue Dec 10, 2025 that may be closed by this pull request
@jackmcdade
Copy link
Member

CleanShot.2025-12-10.at.17.30.46.mp4

Seems to still need a bit 'o love 🤔

@duncanmcclean
Copy link
Member Author

@jackmcdade Better now?

@duncanmcclean duncanmcclean linked an issue Dec 18, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[6.x] Link fieldtype throws Javascript error [6.x] Linking in Bard not working

3 participants