Closed wiebkevogel closed 4 years ago
The sticky mode is only available by design when Bard is a top-level fieldtype. The UI can look really funky and broken when it's smaller, line wrapping, etc.
@jackmcdade We get quite a few questions from our clients asking why the fixed toolbar is not working in bard fields in replicator content. This is especially inconvenient for them, since we use replicator fields as "page builders" in which bard content can become quite long.
Is there any chance this could get looked at again?
Bug Description
In a Replicator-Fieldtype, the Bard-Fixed-Toolbar is overwritten by 'position: relative'. Should the Bard-Fixed-Toolbar not be sticky in a Replicator-Fieldtype?
In the following code snippet we made the bard-fixed-toolbar sticky inside a Replicator-Fieldtype. If a Bard-Fixed-Toolbar is set in a Bard-Fieldtype that is placed in another Bard-Fieldtype, it will still not be sticky. https://pastebin.com/AfPGsiFS
How to Reproduce
Extra Detail
Environment
Statamic version: 2c0592a
PHP version: 7.3.14
Install method (choose one):
statamic/statamic