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

[InlineShareButtons] buttons disappear when element layout occurs #23

Open
thenickreynolds opened this issue Aug 15, 2020 · 5 comments
Open

Comments

@thenickreynolds
Copy link

I've got a very basic usage of the buttons but whenever the page layout changes some buttons disappear.

you can see here I'm reloading then resizing the window

@lucasflomuller
Copy link

I wasn't able to reproduce the error, could you provide more specifics if you still have that problem?

@AkshayN21
Copy link

I am also facing the same issue when there is layout changes button disappear

@swapzone
Copy link

We have the same issue even on a plain HTML page without a specific JS framework in place. Resizing the window or switching from portrait to landscape mode on a mobile devices make the buttons disappear.

@kevinRoomies
Copy link

Same here. Probably also the reason why some buttons don't appear from the beginning unless I add more, there's some layout shenanigans going on

@swapzone
Copy link

For us the issue was that we changed the spacing between the buttons in our CSS, but in the libraries resize handler it calculates the required width based on the width + offset given in the button configuration. To fix it we added a fixed width to the sharethis-inline-share-buttons class and now the buttons stay where they are. Maybe this information will help someone.

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

No branches or pull requests

5 participants