Not a bug Import a file > Choose a file, the entire line is clickable

  • Thread starter Thread starter Deleted member 184953
  • Start date Start date
D

Deleted member 184953

Guest
Affected version
2.2.11
As title, the entire line is clickable instead of the button only to trigger the opening of the popup window.
Tested on a demo forum.

Capture web_17-11-2022_11124_1e7ade01ef766633.demo-xenforo.com.webp
 
Same behavior in following pages :
  • /admin.php?languages/import
  • /admin.php?styles/import
  • /admin.php?add-ons/ in the popup
So I don't know if it's voluntary or something classic.
 
This is just how HTML works.

<label> elements should activate the input that they are attached to. This usually works for text inputs too, where clicking the label will bring focus to the input.

The same is true for file inputs, where clicking the label should activate the input.

Here are some native HTML examples you can test:
 
Back
Top Bottom