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

Add option smartbanner:parent-element #164

Merged
merged 2 commits into from
Jul 26, 2020
Merged

Add option smartbanner:parent-element #164

merged 2 commits into from
Jul 26, 2020

Conversation

Huppys
Copy link

@Huppys Huppys commented Jul 23, 2020

In reaction of #140 I'd like to submit a PR for a new feature. The feature should allow to configure a DOM element, selected by a css selector, to be selected as parent element for the smartbanner.

I think this approach can solve the issue of displaying the smartbanner when using a sticky header.

Please review and feedback.

@coveralls
Copy link

coveralls commented Jul 23, 2020

Coverage Status

Coverage increased (+0.1%) to 94.805% when pulling be08c11 on Huppys:feature/140-parent-element-option into b354f75 on ain:v2.

Copy link
Owner

@ain ain left a comment

Choose a reason for hiding this comment

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

Looks good! Some style and convention suggestions in in review.

README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
dist/index.html Show resolved Hide resolved
dist/index.html Show resolved Hide resolved
src/smartbanner.js Show resolved Hide resolved
Copy link
Author

@Huppys Huppys left a comment

Choose a reason for hiding this comment

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

All changes look reasonable to me. Thanks a lot!

@ain ain added this to the 2.0.0 milestone Jul 25, 2020
@ain ain changed the base branch from master to v2 July 25, 2020 14:41
@ain ain merged commit be08c11 into ain:v2 Jul 26, 2020
@Muspi
Copy link

Muspi commented Apr 7, 2021

Hi, is this feature present in current stable release?

@Huppys Huppys deleted the feature/140-parent-element-option branch April 9, 2021 20:42
@ain
Copy link
Owner

ain commented Apr 11, 2021

@Muspi no, it's scheduled for v2.

@schmidljmuc
Copy link

Hi @ain, any idea when v2 will be released including this fix?

@ain
Copy link
Owner

ain commented May 8, 2023

No timeline currently, but hoping that I find some time in the next weeks!

@PascalBru
Copy link

No timeline currently, but hoping that I find some time in the next weeks!

Hi @ain could you tell me the planed release time for v2?

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.

6 participants