Skip to content

[Bug]: Different Icons depending on import (drag-handle) #5742

@bengfarrell

Description

@bengfarrell

Code of conduct

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

Impacted component(s)

icons-workflow

Library version

1.7.0

Expected behavior

I expect the icon I use to match the documentation.

Actual behavior

If I do:
import '@spectrum-web-components/icons-workflow/icons/sp-icon-drag-handle.js'; <sp-icon-drag-handle></sp-icon-drag-handle>

...I get a circular icon that might be appropriate for an input range slider. But that's not the 2 pairs of 4 dots that you see in the docs for drag handle: https://opensource.adobe.com/spectrum-web-components/components/icons-workflow/

However, if I use a different import strategy:
import '@spectrum-web-components/icons-workflow/src/icons/DragHandle.js'; ${DragHandleIcon()}

...then I get the correct icon.

Screenshots

No response

What browsers are you seeing the problem in?

Chrome

How can we reproduce this issue?

Use the tag based drag-handle icon from the workflow icons package and see that it doesn't match documentation.

Sample code or abstract reproduction which illustrates the problem

`import '@spectrum-web-components/icons-workflow/icons/sp-icon-drag-handle.js';

`

Severity

None

Logs taken while reproducing problem

No response

Would you like to track this issue in Jira?

  • Yes, please tell me the ticket number!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions