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.
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/onbluron a wrapper<div>, but nativefocus/blurevents 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.tmplFix: 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.