Skip to content

fix(tree): restore tabbing through items#14441

Merged
jcfranco merged 1 commit into
devfrom
jcfranco/14362-restore-sheet-shadow
May 15, 2026
Merged

fix(tree): restore tabbing through items#14441
jcfranco merged 1 commit into
devfrom
jcfranco/14362-restore-sheet-shadow

Conversation

@jcfranco
Copy link
Copy Markdown
Member

@jcfranco jcfranco commented May 15, 2026

Related Issue: #13938

Summary

Fixes a regression from #11943 that prevented items from being tabbed through if they contained focusable elements.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Restores the box-shadow on calcite-sheet by targeting the correct internal element (.content instead of .container), and adds a story to visualize the shadow across modes and positions. Also includes an unrelated tree focus fix.

Changes:

  • Update sheet SCSS selectors to apply box-shadow on .content rather than .container.
  • Add a new story shadowAcrossModesAndPositions to demonstrate sheet shadows.
  • Adjust tree's focusElement call and add a browser e2e test for tree focus behavior.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
packages/components/src/components/sheet/sheet.scss Move shadow rules from .container to .content to restore visible shadow.
packages/components/src/components/sheet/sheet.stories.ts Add story covering shadow rendering across display modes and positions.
packages/components/src/components/tree/tree.tsx Pass additional args to focusElement for focusable target resolution.
packages/components/src/components/tree/tree.browser.e2e.tsx Add browser e2e test verifying tab focus order in tree with slotted action.

@github-actions github-actions Bot added the bug Bug reports for broken functionality. Issues should include a reproduction of the bug. label May 15, 2026
@jcfranco jcfranco force-pushed the jcfranco/14362-restore-sheet-shadow branch from 92ca6cf to d04f1d5 Compare May 15, 2026 21:13
@jcfranco jcfranco changed the title fix(sheet): restore shadow fix(tree): restore tabbing through items May 15, 2026
@jcfranco jcfranco requested a review from Copilot May 15, 2026 21:14
@jcfranco jcfranco added the skip visual snapshots Pull requests that do not need visual regression testing. label May 15, 2026
@jcfranco jcfranco requested a review from anveshmekala May 15, 2026 21:14
@jcfranco jcfranco marked this pull request as ready for review May 15, 2026 21:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@jcfranco jcfranco requested a review from aPreciado88 May 15, 2026 21:16
Copy link
Copy Markdown
Contributor

@aPreciado88 aPreciado88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM!

@jcfranco jcfranco merged commit 637ce35 into dev May 15, 2026
23 of 25 checks passed
@jcfranco jcfranco deleted the jcfranco/14362-restore-sheet-shadow branch May 15, 2026 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bug reports for broken functionality. Issues should include a reproduction of the bug. skip visual snapshots Pull requests that do not need visual regression testing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants