spectrum-web-components icon indicating copy to clipboard operation
spectrum-web-components copied to clipboard

[Bug]: Can't scroll action menu items in Firefox and Safari

Open spdev3000 opened this issue 7 months ago • 3 comments

Code of conduct

  • [x] I agree to follow this project's code of conduct.

Impacted component(s)

action menu

Expected behavior

If we open an action menu with long list of menu-items it should scroll without issues in all browsers.

Actual behavior

If we open an action menu with long list of menu-items in Safari (v 18.3) or Firefox (v 138.0.3), it does not scroll.

Screenshots

open https://stackblitz.com/edit/vitejs-vite-hsuikt2o?file=index.html in Firefox or Safari and try to scroll menu-item list.

What browsers are you seeing the problem in?

Firefox, Safari

How can we reproduce this issue?

  1. Go to https://stackblitz.com/edit/vitejs-vite-hsuikt2o?file=index.html
  2. Click on Action menu to open it
  3. Try to scroll item list

Sample code or abstract reproduction which illustrates the problem

I think it has been introduced with the event handling in https://github.com/adobe/spectrum-web-components/pull/5308

Severity

SEV 1

Logs taken while reproducing problem

No response

Would you like to track this issue in Jira?

  • [ ] Yes, please tell me the ticket number!

spdev3000 avatar May 14 '25 14:05 spdev3000

SWC-896

Rajdeepc avatar May 15 '25 15:05 Rajdeepc

Unfortunately the error is still happening, now in our app we have the "scrolling"=>"menu close" issue back with that related fix.

spdev3000 avatar May 16 '25 18:05 spdev3000

I can confirm I still see the problems in both Firefox and Safari.

rubencarvalho avatar May 28 '25 10:05 rubencarvalho

@spdev3000 Verified in latest 1.7.0. Its works fine. https://stackblitz.com/edit/vitejs-vite-w5ozzx8f?file=package.json,package-lock.json

Rajdeepc avatar Jul 08 '25 07:07 Rajdeepc

It has been resolved by https://github.com/adobe/spectrum-web-components/pull/5308.

rubencarvalho avatar Jul 08 '25 07:07 rubencarvalho

Closing as completed.

rubencarvalho avatar Jul 16 '25 10:07 rubencarvalho