autocomplete icon indicating copy to clipboard operation
autocomplete copied to clipboard

Sticky results (keep open)

Open vitality82 opened this issue 4 years ago • 2 comments

For styling purposes, it would be easier to have an option to keep the results list open. What do you suggest to accomplish that?

vitality82 avatar Oct 06 '19 10:10 vitality82

I'm afraid there isn't an easy way to accomplish this right now. The component sets visibility:hidden as an inline style when it loses focus, so I think the only way you'd be able to override it is with the !important flag in your own CSS somewhere. I do want to overhaul the API in v3 so that you can explicitly control those options like when the results are open/close, what results should be displayed in the list, etc. But I don't have a timeline for when that will be yet.

trevoreyre avatar Oct 07 '19 17:10 trevoreyre

Thanks, @trevoreyre, I'll try that for my debug purpose.

vitality82 avatar Oct 07 '19 17:10 vitality82