DustinBrett/daedalOS

Applying sorting method from context menu activates selection area

Closed this issue · 4 comments

Screen.Recording.2024-11-09.at.14.45.44.mov

Are you able to recreate this consistently? Could you give me more information about your browser/computer?

I was not able to make this occur but doing what you did in the video.

Sure
Hardware: MacBook Pro M1 chip
Software: macOS Sequoia 15.0, Google Chrome Version 131.0.6778.70 (Official Build) (arm64), Safari Version 18.0 (20619.1.26.31.6)

Steps to reproduce:

  • Open https://dustinbrett.com/ in incognito tab to get rid of extensions effects
  • Refresh the page
  • Right click on empty area to trigger context menu
  • Select "Sort by" option
  • Select any available sorting method in submenu
  • After context menu close and sorting applied, moving mouse causes selection area while not pressing any mouse button

Issue exists while using both touchpad and mouse

P.S. I've tried on my old windows laptop - no issues there

Thanks for that info. It was indeed an issue with Safari passing the mouseup event to the menu instead of the file manager. I have changed it so mouseup is monitored on the entire window.

6995907

NOTE: Will publish the fix shortly on my website.

I changed to making the container for the menu non-interactive, so when it opens it doesnt get the mouseup event. Using mouseup on window seemed to cause lag.