Skip to content

fix: retain popover anchors when triggers become disabled - #327

Merged
rdlabo merged 2 commits into
mainfrom
fix/popover-disabled-anchor
Oct 24, 2026
Merged

rdlabo merged 2 commits into
mainfrom
fix/popover-disabled-anchor

Conversation

@rdlabo

@rdlabo rdlabo commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

A Duo Vertical Bars button can become disabled in its click handler to prevent duplicate actions. The popover anchor checks treated that state as an invalid anchor and fell back to Web rendering after a valid tap.

Keep an accepted, projected button as a popover anchor when it becomes disabled, both in the Web bridge and the native presenter. Existing disabled-action checks still reject additional clicks; missing anchors and unsupported popovers retain their existing fallback behavior.

Validation:

  • Chromium: 21 Vertical Bars popover cases passed, including disable-on-click, disable-after-presentation, dismissal replay, nested overlays and Web fallbacks.
  • WebKit: the two new disabled-anchor cases and two dismissal-replay cases passed.
  • Native simulator test passed with both enabled and disabled anchor items, including detach cleanup.
  • TypeScript and formatting checks passed.

CI also exposed a race in the existing tab-width handoff test: toolbar artwork could finish after the tab-bar acknowledgement. Wait for both toolbar groups to be projected before asserting that update counts stop increasing. The tab payload was unchanged during the extra toolbar update. Reproduced with 4x CPU slowdown; the corrected test passed five consecutive runs in that condition.

@github-actions

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Playwright test results

passed  502 passed

Details

stats  502 tests across 26 suites
duration  4 minutes, 4 seconds
commit  fca6bb7
info  This detailed result covers Ionic 9 only. Ionic 8 runs against the same screenshots in a separate matrix job; check the workflow run for both results. To update the screenshots, comment with /update-screenshots.

@github-actions

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

📊 Ionic 9 Playwright Test Report

View the detailed Ionic 9 report after GitHub Pages deployment completes: https://rdlabo-dev.github.io/ionic-theme-ios27/pr-327/

Ionic 8 runs against the same screenshots in a separate matrix job. View both results in the workflow run.

@rdlabo
rdlabo merged commit 12a8a88 into main Oct 24, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant