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

Powers issue #1846

Open
1 task done
Prashanthkumar1998 opened this issue May 6, 2024 · 1 comment
Open
1 task done

Powers issue #1846

Prashanthkumar1998 opened this issue May 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Prashanthkumar1998
Copy link

Is there an existing issue for this?

Flutter Quill version

1

Steps to reproduce

on click x powers and entering values power is not displaying as excepted.

Expected results

Actual results

x2

Code sample

Code sample
[Paste your code here]
ki

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

ii

Logs

Logs
[Paste your logs here]
;lii
@Prashanthkumar1998 Prashanthkumar1998 added the bug Something isn't working label May 6, 2024
@AtlasAutocode
Copy link
Contributor

I have found code commented out in the 'example' application to be helpful in these cases:
File = my_quill_toolbar.dart
Under section: configurations: QuillSimpleToolbarConfigurations(
Uncomment:
// buttonOptions: QuillSimpleToolbarButtonOptions(
// base: QuillToolbarBaseButtonOptions(
// afterButtonPressed: focusNode.requestFocus,

This forces the focus to return to the editor when you click a toolbar button.

Your code should look like:
return QuillToolbar.simple(
configurations: QuillSimpleToolbarConfigurations(
buttonOptions: QuillSimpleToolbarButtonOptions(
base: QuillToolbarBaseButtonOptions(
afterButtonPressed: focusNode.requestFocus,
)))),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants