Skip to content

Conversation

@Ibrahimrahhal
Copy link

adding state classes support for parent elements

Copy link
Owner

@yowainwright yowainwright left a comment

Choose a reason for hiding this comment

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

Thanks for your consideration @Ibrahimrahhal. 🙏

See my comment in the PR.

Also, there will need to be tests before I can approve.

Thanks!!! 🙂

rAF(() => {
const stateStyles = {
const stateStyles = { };
stateStyles.element = {
Copy link
Owner

Choose a reason for hiding this comment

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

This is a breaking change.

It looks like the updated parent class [stickyParent] could be added below line 361 within the classes object (also for adding the other parent css classes).

This change will simplify the rest of the PR.

Copy link
Author

@Ibrahimrahhal Ibrahimrahhal Feb 26, 2021

Choose a reason for hiding this comment

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

@yowainwright Agree! I'll do the change & resubmit a review. Thanks

Copy link
Owner

Choose a reason for hiding this comment

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

Thank you!!! 🙏

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.

2 participants