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

NAD: clone dynamic css rules to fix missing unapplied rules in some cases #147

Merged
merged 2 commits into from
Jan 17, 2025

Conversation

jonenst
Copy link
Collaborator

@jonenst jonenst commented Jan 14, 2025

The status is stored inside the rule object so having a static variable means that if you have 2 nads the rules are not reapplied in the second one.

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem?

no

What kind of change does this PR introduce?

bugfix

What is the current behavior?

sometimes dynamic rules are not reapplied

What is the new behavior (if this is a feature change)?
always reapplied

Does this PR introduce a breaking change or deprecate an API?
NO

…ases

The status is stored inside the rule object so having a static variable
means that if you have 2 nads the rules are not reapplied in the second one.

Signed-off-by: HARPER Jon <[email protected]>
@jonenst jonenst requested a review from EstherDarkish January 14, 2025 14:27
@jonenst
Copy link
Collaborator Author

jonenst commented Jan 14, 2025

I want to add a testcase in demo, will do it soon

Copy link
Contributor

@EstherDarkish EstherDarkish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, improves the NAD in gridstudy

Copy link
Contributor

@sBouzols sBouzols left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review OK
Tests OK (via GridSuite)
Console Warning Check OK

@jonenst jonenst merged commit 4096bdd into main Jan 17, 2025
6 checks passed
@jonenst jonenst deleted the fixmissingtextzoom branch January 17, 2025 08:13
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