Font Awesome SVGs eat clicks meant for their parent buttons (I could be misjudging the issue)
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 58/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- css, php
- Domain
- accessibility, frontend
Research direction
Start by locating the bottom right buttons and their Font Awesome SVG styles, then check how clicks on the SVG affect the parent button. Compare the behavior with the reported .svg-inline--fa { pointer-events: none; } suggestion and verify clicks on both the icon and the button area. Done means the icon and surrounding button area trigger the same action.
Written by the indexing model from the issue text.
Description
To start, I've encountered this issue on multiple versions of Heimdall. I run Heimdall in a Docker container on my NAS & it's managed via Dockhand. I believe that the issue is as the title says: the buttons in the bottom right corner seem to only work when the button is pressed outside of the icon on the button. I'm using Vivaldi & I went to Dev Tools > Inspect to see what was happening. I entered document.addEventListener('click', e => console.log('clicked:', e.target), true); in Console to do just that.
Outcome:
document.addEventListener('click', e => console.log('clicked:', e.target), true);
undefined
VM667:1 clicked: <div id="sortable" class="folders">…flex
VM667:1 clicked: <a id="config-button" class="config" href>…flex
VM667:1 clicked: <svg class="svg-inline--fa fa-exchange fa-w-16" aria-hidden="true" data-prefix="fas" data-icon="exchange" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg>…
VM667:1 clicked: <a id="config-button" class="config" href>…flex
My apologies if I'm over explaining (especially, if it's a non-issue). "Sortable" was me clicking outside of the button for context. "Config-button" was me clicking inside the bounds of the button but not on the icon on the button. Next, was me clicking on the actual icon in the bounds of the button & getting a different result. Then, I repeated the 2nd click.
After to doing research, the supposed solution was this:
.svg-inline--fa { pointer-events: none; }
My YAML:
services:
heimdall:
image: linuxserver/heimdall:latest
container_name: heimdall
environment:
- PUID=1000
- PGID=1000
- TZ=America/Los_Angeles
- ALLOW_INTERNAL_REQUESTS=false #optional
volumes:
- /vol1/@team/Household/Heimdall/config:/config
ports:
- 9080:80
- 9443:443
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://localhost/ || exit 1"]
interval: 1m
timeout: 10s
retries: 3
start_period: 30s
Heimdall version: v2.8.4-ls372
Docker Compose Version: 5.3.1
Not sure if I'm missing anything. I will gladly give more info, if needed/wanted. Thanks in advance for you time.
- Dominant language
- PHP
- Stars
- 9.4k
- Forks
- 626
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linuxserver/Heimdall
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
linuxserver/Heimdall#1626 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 53/100
linuxserver/Heimdall#1624 · 4 comments ·
-
no-issue-activity
Difficulty 4/5 3-5 days Newbie friendliness 52/100
linuxserver/Heimdall#1613 · 1 comment ·
-
no-issue-activity
Difficulty 5/5 Over a week Newbie friendliness 35/100
linuxserver/Heimdall#1601 · 1 comment · 4 reactions ·
-
no-issue-activity
Difficulty 3/5 1-2 days Newbie friendliness 55/100
linuxserver/Heimdall#1588 · 4 comments ·
All issues in linuxserver/Heimdall
Similar issues
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
iruzen-dono/workless#15 ·
-
Entity picker filter keeps the first kind's groups after switching Specific Term / Specific PostOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
davidofchatham/bws-gb-dynamic-tags-extensions#177 ·
Maintainers usually reply within 1 day
-
Bug Status: Needs Triage
Difficulty 1/5 Under an hour Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
short-number/short-number#65 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
version-fox/vfox-php#41 ·
Maintainers usually reply within 1 day