Skip to content

fix(header): plugin header buttons ignore taps - #11

Merged
heyitsaadin merged 1 commit into
devfrom
fix/header-button-pointer-events
Nov 22, 2026
Merged

heyitsaadin merged 1 commit into
devfrom
fix/header-button-pointer-events

Conversation

@heyitsaadin

Copy link
Copy Markdown
Owner

src/components/tile/style.scss sets .tile * { pointer-events: none } and only re-enables [data-action] / [action]. Buttons added through acode.addHeaderButton had neither attribute, so taps passed straight through them and onclick never fired.

This adds data-action="plugin-header-button" to the created element, which .tile [data-action] re-enables with pointer-events: all !important.

One-line change in src/lib/acode.js. Plugins loaded on an APK without this fix can work around it by setting data-action on their own button element.

@coderabbitai

coderabbitai Bot commented Nov 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a1c1dd84-128d-43d8-b30b-76f6c0942ee2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@heyitsaadin
heyitsaadin merged commit aaa3f98 into dev Nov 22, 2026
6 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