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

Make reading element dimensions work regardless of transforms #633

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update test fixtures to use offsets instead of rects.
  • Loading branch information
davidjerleke committed Nov 26, 2023
commit c0ab441ffe66c9b09021fdfcc42ee1a2a1f51f4d
2 changes: 1 addition & 1 deletion packages/embla-carousel/src/__tests__/constructor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('➡️ EmblaCarousel', () => {
expect(() =>
EmblaCarousel(
mockTestElements({
slideRects: [],
slideOffsets: [],
endMargin: {
property: 'marginRight',
value: 0
Expand Down
Loading