Skip to content

Fix #242: Color picker popping with wrong context #254

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

Merged
merged 1 commit into from
Jun 3, 2021

Conversation

lucasbstn
Copy link
Collaborator

Fixes #242 where color picker pops the current screen instead of the color picker dialog.

@singerdmx singerdmx merged commit e69e974 into singerdmx:master Jun 3, 2021
zhaoce added a commit that referenced this pull request Jun 8, 2021
* Update issue templates

* Updating checkbox to handle tap (#186)

* updating checkbox to handle tap

* updating checkbox to handle long press and using UniqueKey() to avoid weird side effects

* removed useless doc

Co-authored-by: Kevin Despoulains <[email protected]>

* Simple viewer (#187)

* 2021-04-25

* 2021-04-26

* Fix simple viewer compilation error

* Upgrade version - checkbox supports tapping

* 171: support for non-scrollable text editor (#188)

Co-authored-by: Gyuri Majercsik <[email protected]>

* custom rules & optionally auto add newline for image embeds (#205)

* Adding missing overrides to make package work with Flutter 2.2.0 (#226)

* Improve SOC of raw editor (#227)

Improve separation of concerns for RawEditor by moving the code
for the text input client to a separate class, furthermore add
more comments.

* Upgrade version

* Improve SOC of raw editor (#228)

Improve separation of concerns for `RawEditor` by moving the code
for the keyboard to a separate class, furthermore add more comments.

The PR does not change the functionality of the code.

* Improve further SOC of raw editor

This improves separation of concerns for the RawEditor by moving
the code for the text selection delegate to a separate class,
furthermore add more comments.

The PR does not change the functionality of the code.

* Hide implementation files (#233)

* Fixes for flutter web (#234)

* Fix for Attribute object comparison

* Fix for "Unexpected null value" error on web

Clipboard is now supported on web, via a permission request through the browser

Co-authored-by: George Johnson <[email protected]>

* Dispose ValueNotifier of cursor controller

* Remove getter for final operator

A getter for a final variable makes no sense, because the variable
cannot be reassigned. It is better to remove the unnecessary getter
and make the variable public.

* Add comments to cursor class

* Remove null exception when a disposed controller is set

* Disallow lines longer than 80 characters

* Don't create a lambda when a tear-off will do

* Move ResponsiveWidgets to example folder

This widget has nothing to do with the library and is only used in
the example, so it is moved to the example.

* Fix null exception

* Remove exception when widget is not mounted

* Fix exception when rect is not a number

* Fix paste (#236)

closes #235.

* Fix exception

* Add const types for image and divider embeds

This allows to reference the type.

* Fix relative path

* Add new logo

* Fix buttons which ignore toolbariconsize

Closes #189.

* Upgrade to 1.3.1

* Fix incorrect double to int cast, and guard against optional parent (#239)

* use ceil instead of floor to make sure won't cause overflow

* Fix example project Podfile (#241)

* Show arrow indicator on toolbar (#245)

* Add color parameter to Toolbar and ImageButton

In addition, change these widgets to stateless widgets, since these
widgets do not have a state and thus stateful is superfluous.

* Fix paste bug

* Remove extraneous toolbar dividers in certain configuration

Closes #193.

* Upgrade version to 1.3.2

* Format code

* Bump file_picker to 3.0.2+2

With version 3.0.2 `name` of the file_picker library becomes
non-nullable, so a warning was issued for users who had already
used version 3.0.2, as we still assumed that `name` is nullable.
Increasing the version and removing the exclamation mark removes
the warning.

* Fix a bug that Embed could be together with Text (#249)

* Fix #242 (#254)

* Upgrade to 1.3.3

* Format code

* bugfix:The return type 'bool' isn't a 'KeyEventResult'

Co-authored-by: Xin Yao <[email protected]>
Co-authored-by: kevinDespoulains <[email protected]>
Co-authored-by: Kevin Despoulains <[email protected]>
Co-authored-by: em6m6e <[email protected]>
Co-authored-by: Gyuri Majercsik <[email protected]>
Co-authored-by: Gyuri Majercsik <[email protected]>
Co-authored-by: hyouuu <[email protected]>
Co-authored-by: Till Friebe <[email protected]>
Co-authored-by: George <[email protected]>
Co-authored-by: George Johnson <[email protected]>
Co-authored-by: Ben Chung <[email protected]>
Co-authored-by: lucasbstn <[email protected]>
zhaoce added a commit that referenced this pull request Jun 8, 2021
* Update issue templates

* Updating checkbox to handle tap (#186)

* updating checkbox to handle tap

* updating checkbox to handle long press and using UniqueKey() to avoid weird side effects

* removed useless doc

Co-authored-by: Kevin Despoulains <[email protected]>

* Simple viewer (#187)

* 2021-04-25

* 2021-04-26

* Fix simple viewer compilation error

* Upgrade version - checkbox supports tapping

* 171: support for non-scrollable text editor (#188)

Co-authored-by: Gyuri Majercsik <[email protected]>

* custom rules & optionally auto add newline for image embeds (#205)

* Adding missing overrides to make package work with Flutter 2.2.0 (#226)

* Improve SOC of raw editor (#227)

Improve separation of concerns for RawEditor by moving the code
for the text input client to a separate class, furthermore add
more comments.

* Upgrade version

* Improve SOC of raw editor (#228)

Improve separation of concerns for `RawEditor` by moving the code
for the keyboard to a separate class, furthermore add more comments.

The PR does not change the functionality of the code.

* Improve further SOC of raw editor

This improves separation of concerns for the RawEditor by moving
the code for the text selection delegate to a separate class,
furthermore add more comments.

The PR does not change the functionality of the code.

* Hide implementation files (#233)

* Fixes for flutter web (#234)

* Fix for Attribute object comparison

* Fix for "Unexpected null value" error on web

Clipboard is now supported on web, via a permission request through the browser

Co-authored-by: George Johnson <[email protected]>

* Dispose ValueNotifier of cursor controller

* Remove getter for final operator

A getter for a final variable makes no sense, because the variable
cannot be reassigned. It is better to remove the unnecessary getter
and make the variable public.

* Add comments to cursor class

* Remove null exception when a disposed controller is set

* Disallow lines longer than 80 characters

* Don't create a lambda when a tear-off will do

* Move ResponsiveWidgets to example folder

This widget has nothing to do with the library and is only used in
the example, so it is moved to the example.

* Fix null exception

* Remove exception when widget is not mounted

* Fix exception when rect is not a number

* Fix paste (#236)

closes #235.

* Fix exception

* Add const types for image and divider embeds

This allows to reference the type.

* Fix relative path

* Add new logo

* Fix buttons which ignore toolbariconsize

Closes #189.

* Upgrade to 1.3.1

* Fix incorrect double to int cast, and guard against optional parent (#239)

* use ceil instead of floor to make sure won't cause overflow

* Fix example project Podfile (#241)

* Show arrow indicator on toolbar (#245)

* Add color parameter to Toolbar and ImageButton

In addition, change these widgets to stateless widgets, since these
widgets do not have a state and thus stateful is superfluous.

* Fix paste bug

* Remove extraneous toolbar dividers in certain configuration

Closes #193.

* Upgrade version to 1.3.2

* Format code

* Bump file_picker to 3.0.2+2

With version 3.0.2 `name` of the file_picker library becomes
non-nullable, so a warning was issued for users who had already
used version 3.0.2, as we still assumed that `name` is nullable.
Increasing the version and removing the exclamation mark removes
the warning.

* Fix a bug that Embed could be together with Text (#249)

* Fix #242 (#254)

* Upgrade to 1.3.3

* Format code

Co-authored-by: Xin Yao <[email protected]>
Co-authored-by: kevinDespoulains <[email protected]>
Co-authored-by: Kevin Despoulains <[email protected]>
Co-authored-by: em6m6e <[email protected]>
Co-authored-by: Gyuri Majercsik <[email protected]>
Co-authored-by: Gyuri Majercsik <[email protected]>
Co-authored-by: hyouuu <[email protected]>
Co-authored-by: Till Friebe <[email protected]>
Co-authored-by: George <[email protected]>
Co-authored-by: George Johnson <[email protected]>
Co-authored-by: Ben Chung <[email protected]>
Co-authored-by: lucasbstn <[email protected]>
zhaoce added a commit that referenced this pull request Jun 8, 2021
* Update issue templates

* Updating checkbox to handle tap (#186)

* updating checkbox to handle tap

* updating checkbox to handle long press and using UniqueKey() to avoid weird side effects

* removed useless doc

Co-authored-by: Kevin Despoulains <[email protected]>

* Simple viewer (#187)

* 2021-04-25

* 2021-04-26

* Fix simple viewer compilation error

* Upgrade version - checkbox supports tapping

* 171: support for non-scrollable text editor (#188)

Co-authored-by: Gyuri Majercsik <[email protected]>

* custom rules & optionally auto add newline for image embeds (#205)

* Adding missing overrides to make package work with Flutter 2.2.0 (#226)

* Improve SOC of raw editor (#227)

Improve separation of concerns for RawEditor by moving the code
for the text input client to a separate class, furthermore add
more comments.

* Upgrade version

* Improve SOC of raw editor (#228)

Improve separation of concerns for `RawEditor` by moving the code
for the keyboard to a separate class, furthermore add more comments.

The PR does not change the functionality of the code.

* Improve further SOC of raw editor

This improves separation of concerns for the RawEditor by moving
the code for the text selection delegate to a separate class,
furthermore add more comments.

The PR does not change the functionality of the code.

* Hide implementation files (#233)

* Fixes for flutter web (#234)

* Fix for Attribute object comparison

* Fix for "Unexpected null value" error on web

Clipboard is now supported on web, via a permission request through the browser

Co-authored-by: George Johnson <[email protected]>

* Dispose ValueNotifier of cursor controller

* Remove getter for final operator

A getter for a final variable makes no sense, because the variable
cannot be reassigned. It is better to remove the unnecessary getter
and make the variable public.

* Add comments to cursor class

* Remove null exception when a disposed controller is set

* Disallow lines longer than 80 characters

* Don't create a lambda when a tear-off will do

* Move ResponsiveWidgets to example folder

This widget has nothing to do with the library and is only used in
the example, so it is moved to the example.

* Fix null exception

* Remove exception when widget is not mounted

* Fix exception when rect is not a number

* Fix paste (#236)

closes #235.

* Fix exception

* Add const types for image and divider embeds

This allows to reference the type.

* Fix relative path

* Add new logo

* Fix buttons which ignore toolbariconsize

Closes #189.

* Upgrade to 1.3.1

* Fix incorrect double to int cast, and guard against optional parent (#239)

* use ceil instead of floor to make sure won't cause overflow

* Fix example project Podfile (#241)

* Show arrow indicator on toolbar (#245)

* Add color parameter to Toolbar and ImageButton

In addition, change these widgets to stateless widgets, since these
widgets do not have a state and thus stateful is superfluous.

* Fix paste bug

* Remove extraneous toolbar dividers in certain configuration

Closes #193.

* Upgrade version to 1.3.2

* Format code

* Bump file_picker to 3.0.2+2

With version 3.0.2 `name` of the file_picker library becomes
non-nullable, so a warning was issued for users who had already
used version 3.0.2, as we still assumed that `name` is nullable.
Increasing the version and removing the exclamation mark removes
the warning.

* Fix a bug that Embed could be together with Text (#249)

* Fix #242 (#254)

* Upgrade to 1.3.3

* Format code

Co-authored-by: Xin Yao <[email protected]>
Co-authored-by: kevinDespoulains <[email protected]>
Co-authored-by: Kevin Despoulains <[email protected]>
Co-authored-by: em6m6e <[email protected]>
Co-authored-by: Gyuri Majercsik <[email protected]>
Co-authored-by: Gyuri Majercsik <[email protected]>
Co-authored-by: hyouuu <[email protected]>
Co-authored-by: Till Friebe <[email protected]>
Co-authored-by: George <[email protected]>
Co-authored-by: George Johnson <[email protected]>
Co-authored-by: Ben Chung <[email protected]>
Co-authored-by: lucasbstn <[email protected]>
zhaoce added a commit that referenced this pull request Jun 10, 2021
* Update issue templates

* Updating checkbox to handle tap (#186)

* updating checkbox to handle tap

* updating checkbox to handle long press and using UniqueKey() to avoid weird side effects

* removed useless doc

Co-authored-by: Kevin Despoulains <[email protected]>

* Simple viewer (#187)

* 2021-04-25

* 2021-04-26

* Fix simple viewer compilation error

* Upgrade version - checkbox supports tapping

* 171: support for non-scrollable text editor (#188)

Co-authored-by: Gyuri Majercsik <[email protected]>

* custom rules & optionally auto add newline for image embeds (#205)

* Adding missing overrides to make package work with Flutter 2.2.0 (#226)

* Improve SOC of raw editor (#227)

Improve separation of concerns for RawEditor by moving the code
for the text input client to a separate class, furthermore add
more comments.

* Upgrade version

* Improve SOC of raw editor (#228)

Improve separation of concerns for `RawEditor` by moving the code
for the keyboard to a separate class, furthermore add more comments.

The PR does not change the functionality of the code.

* Improve further SOC of raw editor

This improves separation of concerns for the RawEditor by moving
the code for the text selection delegate to a separate class,
furthermore add more comments.

The PR does not change the functionality of the code.

* Hide implementation files (#233)

* Fixes for flutter web (#234)

* Fix for Attribute object comparison

* Fix for "Unexpected null value" error on web

Clipboard is now supported on web, via a permission request through the browser

Co-authored-by: George Johnson <[email protected]>

* Dispose ValueNotifier of cursor controller

* Remove getter for final operator

A getter for a final variable makes no sense, because the variable
cannot be reassigned. It is better to remove the unnecessary getter
and make the variable public.

* Add comments to cursor class

* Remove null exception when a disposed controller is set

* Disallow lines longer than 80 characters

* Don't create a lambda when a tear-off will do

* Move ResponsiveWidgets to example folder

This widget has nothing to do with the library and is only used in
the example, so it is moved to the example.

* Fix null exception

* Remove exception when widget is not mounted

* Fix exception when rect is not a number

* Fix paste (#236)

closes #235.

* Fix exception

* Add const types for image and divider embeds

This allows to reference the type.

* Fix relative path

* Add new logo

* Fix buttons which ignore toolbariconsize

Closes #189.

* Upgrade to 1.3.1

* Fix incorrect double to int cast, and guard against optional parent (#239)

* use ceil instead of floor to make sure won't cause overflow

* Fix example project Podfile (#241)

* Show arrow indicator on toolbar (#245)

* Add color parameter to Toolbar and ImageButton

In addition, change these widgets to stateless widgets, since these
widgets do not have a state and thus stateful is superfluous.

* Fix paste bug

* Remove extraneous toolbar dividers in certain configuration

Closes #193.

* Upgrade version to 1.3.2

* Format code

* Bump file_picker to 3.0.2+2

With version 3.0.2 `name` of the file_picker library becomes
non-nullable, so a warning was issued for users who had already
used version 3.0.2, as we still assumed that `name` is nullable.
Increasing the version and removing the exclamation mark removes
the warning.

* Fix a bug that Embed could be together with Text (#249)

* Fix #242 (#254)

* Upgrade to 1.3.3

* Format code

Co-authored-by: Xin Yao <[email protected]>
Co-authored-by: kevinDespoulains <[email protected]>
Co-authored-by: Kevin Despoulains <[email protected]>
Co-authored-by: em6m6e <[email protected]>
Co-authored-by: Gyuri Majercsik <[email protected]>
Co-authored-by: Gyuri Majercsik <[email protected]>
Co-authored-by: hyouuu <[email protected]>
Co-authored-by: Till Friebe <[email protected]>
Co-authored-by: George <[email protected]>
Co-authored-by: George Johnson <[email protected]>
Co-authored-by: Ben Chung <[email protected]>
Co-authored-by: lucasbstn <[email protected]>
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.

[Web]
3 participants