Font Awesome SVGs eat clicks meant for their parent buttons (I could be misjudging the issue)
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 58/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- css, php
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- PHP
- スター
- 9.4k
- フォーク
- 626
- 平均マージ
- 13分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
linuxserver/Heimdall のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
linuxserver/Heimdall#1626 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 53/100
linuxserver/Heimdall#1624 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
linuxserver/Heimdall#1613 ·
-
no-issue-activity
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
linuxserver/Heimdall#1601 · コメント 1 件 · リアクション 4 件 ·
-
no-issue-activity
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
linuxserver/Heimdall#1588 · コメント 4 件 ·
linuxserver/Heimdall の issue をすべて見る
似ている issue
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
Automattic/static-site-importer#3129 ·
メンテナーはふだん 1 日以内に返信
-
Group 2 - Data Storage | Tripal DBX | Chado Group 5 - Search | ElasticSearch | Views Priority - Medium
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
category::bug code priority::normal
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
e0ipso/simple_oauth_21#58 ·
メンテナーはふだん 1 日以内に返信