Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

FixedLayout clips objects inside #10402

Closed
7 tasks done
mikayelcreativefabrica opened this issue Jan 17, 2025 · 1 comment
Closed
7 tasks done

FixedLayout clips objects inside #10402

mikayelcreativefabrica opened this issue Jan 17, 2025 · 1 comment

Comments

@mikayelcreativefabrica
Copy link

CheckList

  • I agree to follow this project's Code of Conduct
  • I have read and followed the Contributing Guide
  • I have read and followed the Issue Tracker Guide
  • I have searched and referenced existing issues and discussions
  • I am filing a BUG report.
  • I have managed to reproduce the bug after upgrading to the latest version
  • I have created an accurate and minimal reproduction

Version

6.0.2

In What environments are you experiencing the problem?

Chrome

Node Version (if applicable)

22.4.0

Link To Reproduction

https://stackblitz.com/edit/vitejs-vite-ezxsdjsk?file=src%2Fmain.ts

Steps To Reproduce

  1. add a group with FixedLayout strategy with the following attributes
    { width: 300, height: 300, layoutManager: new fabric.LayoutManager(new fabric.FixedLayout()), subTargetCheck: true, interactive: true, selectable: false, }
  2. add any type of object to the group
Image

Expected Behavior

the objects need to be fully visible even if they are not evented out of the FixedLayout bounding box

Actual Behavior

FixedLayout clips its own subtree by its own bounding box

Error Message & Stack Trace

@asturur
Copy link
Member

asturur commented Jan 23, 2025

This is how the fixedLayour work, i m not sure if it is because caching or not. Did you try removing caching?

@asturur asturur changed the title [Bug]: FixedLayout clips objects inside FixedLayout clips objects inside Jan 23, 2025
@fabricjs fabricjs locked and limited conversation to collaborators Jan 23, 2025
@asturur asturur converted this issue into discussion #10409 Jan 23, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants