autocomplete
autocomplete copied to clipboard
Unable to select text in Preview panel
Description
When using the Preview panel, it doesn't seem possible for the user to select any of the text in it (for e.g. copy/paste etc.).
Reproduction
In demo app: https://codesandbox.io/p/sandbox/github/algolia/autocomplete/tree/next/examples/preview-panel-in-modal
Try selecting some of the text in an item's description.
Steps
- Go to above CodeSandbox demo app.
- Search for e.g. "hat" using Algolia autocomplete box.
- In preview of default search result "Bioworld - Call of Duty....", try selecting some of the description text with the mouse.
- It doesn't select!
Expected behavior
Text in Preview pane should be selectable or at least optionally selectable. I have tried setting various css properties on the panel and the text itself e.g. user-select: all, but nothing seems to work.
Environment
- OS: Mac
- Browser: Chrome
- Autocomplete version: 1.18.0