fix: Remove AI Assistant Button from Tab Order to Prevent Focus (#6569)

* make ai button unfocused

* fix the format
This commit is contained in:
Vipin Chaudhary 2025-02-10 12:55:21 +05:30 committed by GitHub
parent 14083ea7da
commit 16bc64e2fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 3 deletions

View file

@ -188,7 +188,7 @@ export const GptAssistantPopover: React.FC<Props> = (props) => {
return (
<Popover as="div" className={`relative w-min text-left`}>
<Popover.Button as={Fragment}>
<button ref={setReferenceElement} className="flex items-center">
<button ref={setReferenceElement} className="flex items-center" tabIndex={-1}>
{button}
</button>
</Popover.Button>