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

IText is not working properly when the Canvas is within a Bootstrap Modal #6611

Closed
superstar1128 opened this issue Sep 22, 2020 · 2 comments
Closed

Comments

@superstar1128
Copy link

Version

3.6.0

Test Case

http://jsfiddle.net/tzjtr09h/

Information about environment

jquery, bootstrap, fabric.js

Steps to reproduce

When I create canvas on the modal, I can't type text into canvas.

Note

  • I see similar reports with this, but can't find good solution.
  • When I remove focus event from jquery, it could work well without any change on the fabric.js
@asturur
Copy link
Member

asturur commented Sep 23, 2020

The reports are identical, and there isn't a good solution.
If jquery swallow your keypresses, you can't do much other than modify fabricJS to have the hiddenTextarea inside the canvas container so that it is inside the modal also.
Until we support ie11 we can't do it.

@asturur asturur closed this as completed Sep 23, 2020
@asturur
Copy link
Member

asturur commented Aug 27, 2021

probably solved with #7314

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