We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When used within a cdkDrag component, it becomes impossible to edit the content without doing a right-click first.
cdkDrag
There is a solution explained here: https://stackoverflow.com/a/64084061/517193
Maybe we could have an option that will automatically add the mousedown event and prevent the bubble up? or add it by default?
The text was updated successfully, but these errors were encountered:
For now, this is what worked for me:
<angular-editor (blur)="fixEditor($event)"></angular-editor> ... public fixEditor($event) { const content = $event.target as HTMLDivElement; content.onmousedown = event => event.stopPropagation(); }
Sorry, something went wrong.
No branches or pull requests
When used within a
cdkDrag
component, it becomes impossible to edit the content without doing a right-click first.There is a solution explained here: https://stackoverflow.com/a/64084061/517193
Maybe we could have an option that will automatically add the mousedown event and prevent the bubble up? or add it by default?
The text was updated successfully, but these errors were encountered: