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

Rendering issue on bootstrap modal #468

Open
mohammedfaisal opened this issue May 27, 2024 · 3 comments
Open

Rendering issue on bootstrap modal #468

mohammedfaisal opened this issue May 27, 2024 · 3 comments

Comments

@mohammedfaisal
Copy link

Hi

I use image editor on a bootstrap modal (popup). The initial image is rendered correctly. When I change the image (usually an image with height and width greater than the initial image), only a portion of image is rendered on the editor. Please see the demo video. The issue is only found when I use image editor on a bootstrap modal.

Screencast.from.27-05-24.11.48.17.AM.IST.webm
@mohammedfaisal
Copy link
Author

See the repo https://github.com/mohammedfaisal/image-editor-vanilla for an example of the issue described.

@AhmeeedMostafa
Copy link
Collaborator

@mohammedfaisal please provide some ready-to-check demo (codesandbox or smth. similar)
also have u tried to add this param resetOnImageSourceChange and it didn't solve the issue?

@mohammedfaisal
Copy link
Author

I have set resetOnImageSourceChange to true. But it doesn't help.
Please see the demo here: https://codesandbox.io/p/github/mohammedfaisal/image-editor-vanilla/master?import=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants