Commit Graph

8 Commits

Author SHA1 Message Date
95fc8662a6 Fix issue with month switching in date range picker
The issue is related to the underlying react-dates library used
in woocommerce/components in calendar/date-range.js

See https://github.com/woocommerce/woocommerce/blob/trunk/packages/js/components/src/calendar/date-range.js#L45-L104

I was not able to fully understand why it started to happen after the update
but I have a suspicion that it may be related to the change that causes rendering
popups at the end of the body.

The Gutenberg library already moved away from react-dates and I assume
that Woo Components will do that as well.

This commit adds a patch that adds e.stopPropagation() to the place
where the original workaround is trying to prevent losing focus.

[MAILPOET-5714]
2024-02-19 11:44:33 +01:00
533e19865c Patch invalid imports 2023-07-24 15:52:21 +02:00
5bcdd8965e Patch invalid CSS 2023-07-24 15:52:21 +02:00
06e08d9265 Remove old patch 2023-07-24 15:52:21 +02:00
6faa8e30e1 Use pnpm patch for spectrum-colorpicker deprecated jQuery methods
This patch replaces deprecated jQuery methods in the spectrum-colorpicker dependency.
It can be removed when a fix is included in a package update.
See: https://github.com/bgrins/spectrum/pull/564

[MAILPOET-4485]
2022-07-26 15:45:54 +02:00
4c51001558 Use pnpm patch for parsleyjs deprecated jQuery methods
This patch replaces deprecated jQuery methods in parsleyjs. It can be removed this when
a fix is included in the package update.

Note: deferred.pipe() fix is not implemented yet, see https://github.com/guillaumepotier/Parsley.js/pull/1347

[MAILPOET-4485]
2022-07-26 15:45:54 +02:00
7dfb55e103 Use pnpm patch for backbone.supermodel strict mode fixes
This patch fixes strict mode issues in backbone.supermodel build.

[MAILPOET-4485]
2022-07-26 15:45:54 +02:00
06bd80eb85 Use pnpm patch for @woocommerce/components CSS fix
The style.css of @woocommerce/components contains invalid CSS strings like "(1fr)[2]"
that are not parseable by SASS. This patch fixes them to "1fr [2]" format.

[MAILPOET-4485]
2022-07-26 15:45:54 +02:00