markasoftware / SpecDB

A beautiful web app for viewing and comparing the specifications of PC hardware.
https://specdb.info/
GNU Affero General Public License v3.0
29 stars 11 forks source link

Tab switch does nothing while part of the page is highlighted #26

Closed zcskywire2 closed 7 years ago

zcskywire2 commented 7 years ago

Found this by accident. Basically just can't switch between compare and select when you highlight any part of the page. The ui animation plays showing that it received the click event but nothing else happens.

markasoftware commented 7 years ago

Weird, I can't reproduce this issue. Could you provide details on what OS and browser you're using? It works fine for me on Arch Linux with Firefox, Chromium, and Opera (which is basically Chromium)

markasoftware commented 7 years ago

I can also confirm that it still works in Chromium's mobile "emulator" mode, although it's still a long shot from a real mobile device and I'm still waiting for Browserstack to approve my access to the open-source plan.

zcskywire2 commented 7 years ago

I have received this issue on chome for Android and chrome for Windows 10.

zcskywire2 commented 7 years ago

So okay, its only the portion where the arrow is drawn on the tab switch button that does not function properly when something on the page is highlighted.

markasoftware commented 7 years ago

Ok, I can confirm that clicking the arrow while text is selected in chromium-based browses does not work. However, it does work in Firefox, so I'm inclined to believe this may actually be a browser issue. I've created a minimal reproducible example in this codepen: https://codepen.io/markasoftware/pen/QMyEow. Let me know if this issue also occurs in Edge.

I could possibly workaround this issue by embedding the image using an <svg> tag instead of <img>.

zcskywire2 commented 7 years ago

Just tested edge ( no I will not set it as my main browser windows stop nagging) works fine on edge. Must be a issue with chromium based browsers then.

markasoftware commented 7 years ago

Since this is a browser bug, and one that is not likely to affect/be noticed by anybody, I'm going to close this issue.