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

Scribble scroll fix #1745

Merged
merged 2 commits into from
Feb 16, 2024
Merged

Conversation

mtallenca
Copy link
Contributor

Description

The scribble area overlays the editor area. This fix keeps the scribble area from scrolling as the editor scrolls. Without this fix, the scribble area can scroll off the screen.

  • No, this is not a breaking change.

…t when scrolling is not enabled for consistency with the scrolling scribble area fix
@singerdmx singerdmx merged commit 429a0a8 into singerdmx:master Feb 16, 2024
@singerdmx
Copy link
Owner

@mtallenca Can you fix this issue?

info • 'isShiftPressed' is deprecated and shouldn't be used. Use HardwareKeyboard.instance.isShiftPressed instead. This feature was deprecated after v3.18.0-2.0.pre • lib/src/widgets/raw_editor/raw_editor_state.dart:908:41 • deprecated_member_use

@singerdmx
Copy link
Owner

@EchoEllet
Copy link
Collaborator

@mtallenca I may have to revert this if it cannot be fixed

https://github.com/singerdmx/flutter-quill/actions/runs/7937269064/job/21674160453

This because of flutter 3.19, they have new changes and they deprecated some methods, for more info

The CI automatically use the latest version for Flutter, it should have nothing to do with this PR, the solution is to update the project to work with 3.19, by the time this PR GitHub action run the latest stable release is 3.19

@mtallenca mtallenca deleted the scribble_scroll_fix branch February 16, 2024 23:40
@mtallenca
Copy link
Contributor Author

mtallenca commented Feb 16, 2024 via email

@EchoEllet
Copy link
Collaborator

Taking a look at it now...

On Fri, Feb 16, 2024 at 3:14 PM Ellet Hnewa @.> wrote: @mtallenca https://github.com/mtallenca I may have to revert this if it cannot be fixed https://github.com/singerdmx/flutter-quill/actions/runs/7937269064/job/21674160453 This because of flutter 3.19, they have new changes and they deprecated some methods, for more info https://docs.flutter.dev/release/release-notes/release-notes-3.19.0 The CI automatically use the latest version for Flutter, it should have nothing to do with this PR, the solution is to update the project to work with 3.19, by the time this PR GitHub action run the latest stable release is 3.19 — Reply to this email directly, view it on GitHub <#1745 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXMGLMBA6IDXZMKAGXHJQ3YT7R6ZAVCNFSM6AAAAABDLEIYD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZGQ3DQMRRGM . You are receiving this because you were mentioned.Message ID: @.>

If you want, please take a look at this

I already updated the deprecated code but I have not tested the functionalities of the updated code, it should work fine because it's not a breaking change, however I'm not sure if the new api is available in 3.16, if not then we need to update the minimum version of flutter to 3.19

@mtallenca
Copy link
Contributor Author

mtallenca commented Feb 17, 2024 via email

@mtallenca
Copy link
Contributor Author

mtallenca commented Feb 17, 2024 via email

@mtallenca
Copy link
Contributor Author

mtallenca commented Feb 17, 2024 via email

@EchoEllet
Copy link
Collaborator

I just updated the code, and require 3.19 as minimum to use the latest version of flutter quill

Also you might want to look at the PR I sent along with the new commit which is on the master branch and not with the PR, which has some fixes

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

Successfully merging this pull request may close these issues.

3 participants