Skip to content

FOLLOW-UP: Popover uses onfocus/onblur instead of onfocusin/onfocusout #309

@adnaan

Description

@adnaan

Context

This follow-up task was identified during the review of PR #292.

Source PR: #292
Suggested by: @Copilot

Task Description

The popover template uses onfocus/onblur on a wrapper <div>, but native focus/blur events do not bubble. This means when a descendant (the actual trigger element) receives focus, the popover handler won't fire.

File: components/popover/templates/default.tmpl

Fix: Use onfocusin/onfocusout (which do bubble) or move the handlers onto the actual focusable trigger element.


This issue was automatically created from PR #292 review comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    follow-upFollow-up task from PR reviewfrom-reviewIssue originated from PR review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions