Skip to content

Bard link popover not visible when content length scrolls toolbar out of view #13562

@sheadawson

Description

@sheadawson

Bug description

I was editing text in a bard field. The field contained many rows of text, such that the bard editor toolbar was scrolled outside of view. I pressed cmd+k on some selected text to insert a link, but the link popup was not accessible as it gets displayed just below the toolbar, rather than below or close to the selected text.

How to reproduce

  1. Edit text content in a bard field
  2. Ensure sufficient length of text content that the bard editor field's toolbar is no longer visible
  3. Select some text, press cmd+k to insert a link
  4. Notice that the link popup is not visible without scrolling up to the top of the editor field

Logs

Environment

Application Name: Statamic
Laravel Version: 12.41.0
PHP Version: 8.4.15
Composer Version: 2.9.2
Environment: local
Debug Mode: ENABLED
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

Storage
public/storage: NOT LINKED

Livewire
Livewire: v3.7.0

Statamic
Addons: 1
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 5.70.0 PRO

Statamic Addons
el-schneider/statamic-simple-address: 0.2.2

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions