Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: sp-color-field 1.1.2 color swatch does not scroll with text control. #5109

Open
1 task done
mscherotter opened this issue Feb 20, 2025 · 3 comments
Open
1 task done
Labels
bug Something isn't working Component: Color-Field jira ticket created triage An issue needing triage

Comments

@mscherotter
Copy link

mscherotter commented Feb 20, 2025

Code of conduct

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

Impacted component(s)

sp-color-field

Expected behavior

the color swatch and edit field should move together when in a scrollable region.

Actual behavior

I found a bug with the sp-color-field 1.1.2 Spectrum Web Component when put it in a scrollable region in a sp-tab-panel container, the color swatches do not move with the edit fields.
see attached video
https://github.com/user-attachments/assets/6156b7e4-dec5-47ad-86c3-ccca79b73405

Screenshots

sp-color-field.mp4

What browsers are you seeing the problem in?

Microsoft Edge

How can we reproduce this issue?

  1. Go to '...'
  2. Click on '....'
  3. Scroll to '....'
  4. Check console
  5. See error

Sample code or abstract reproduction which illustrates the problem

test-sp-color-field.zip

Severity

SEV 3

Logs taken while reproducing problem

No response

@mscherotter mscherotter added bug Something isn't working needs jira ticket triage An issue needing triage labels Feb 20, 2025
@mscherotter
Copy link
Author

added sample project that demonstrates the bug.

@mscherotter
Copy link
Author

Here is a link to the reproduced sample: https://1drv.ms/u/s!AmvW0E0DYMdm4bsydGPKhVyDS9njdQ?e=u90WNB

@najikahalsema
Copy link
Collaborator

SWC-635

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Component: Color-Field jira ticket created triage An issue needing triage
Projects
None yet
Development

No branches or pull requests

2 participants