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

Not rendering correctly with multiple instances #75

Closed
simonv4549 opened this issue Jan 16, 2015 · 39 comments
Closed

Not rendering correctly with multiple instances #75

simonv4549 opened this issue Jan 16, 2015 · 39 comments
Labels

Comments

@simonv4549
Copy link

I came across an issue where on mobile the button text would wrap, I thought it may have been something that I had done by mistake while I was customizing so I thought I would revert everything back to your code from the demo page. But the issue still exists, and the strange thing is if I add a 2nd instance of your code the 1st instance then works perfect. If I add 3 or 4 instances the first X works fine only the final instance is wrapping the text?

I have created a demo page here on my site so you can see what I mean, If you view this on mobile (iphone5 I was using) or even in Chrome with mobile emulation you will see the issue?
http://www.certforums.com/pages/rrssb/
rrssb

Could you help with a fix?

@simonv4549
Copy link
Author

Does anyone still maintain this script? I found the text wrapping issue as it was a CSS conflict with word-wrap used in the template.

But I still have the issue where if more than one instance is shown the last instance does not render the same as the other instance. Does anyone else have this issue? At certain screen widths the last instance the buttons change size at different intervals.

@dbox
Copy link
Contributor

dbox commented Jan 20, 2015

I looked at your page. Seems to be all good?

@dbox dbox closed this as completed Jan 24, 2015
@simonv4549
Copy link
Author

This is still an issue, Please can you look into it further.

If you view the page http://www.certforums.com/pages/rrssb/ at certain resolutions you will see the issue I have added 3 instances so you can see its always the final instance that it happens.

Use google chrome with mobile inspector and use Google Nexus 4 as the device and you will see the issue.

screen

@dbox
Copy link
Contributor

dbox commented Feb 18, 2015

@simonv4549 i can't replicate it on the example you provided

@simonv4549
Copy link
Author

Well Im at a loss has to how you cant see this and I have multiple confirmations from others that it happens. I happens even within the browser when resized and I checked with the latest version of FF and Chrome on Mac and IE11 and FF on Windows and I can see it by resizing the window to a narrow viewpoint. Plus using the Chrome Mobile Emulation everyone I have asked to test it can see it happening. I also have somebody viewing from a LG 4 phone who first pointed this out to me that 100% can see this issue.

I really dont know what more I can do to try to explain it to you, do you have any ideas?

@tmaiaroto
Copy link

I see the same thing. The first share button, regardless of which one it is, does not size properly. It includes the text when it shouldn't. Doesn't matter which browser in my testing, I'm looking at it on Chrome on a desktop (with a container that's forcing the sizes smaller).

...You can hack around it by including another <li> item and setting a style="display:none;" attribute on the element so it hides. Hacky, but works. Maybe there's something in a loop somewhere with a counter that's off. I don't have the time to look at the moment, but will try later.

In fact, you don't even need all the guts. Just do <li style="display:none;"></li>

@dbox
Copy link
Contributor

dbox commented May 3, 2015

@tmaiaroto Have a chance to look into this?

@dbox dbox reopened this May 3, 2015
@dbox
Copy link
Contributor

dbox commented May 3, 2015

//cc @aicarlson

@andrewicarlson
Copy link
Contributor

This weekend is tight, but I'll look into it further as soon as I can.

@dbox
Copy link
Contributor

dbox commented May 3, 2015

Np. Thanks!
On Sun, May 3, 2015 at 9:52 AM Andrew Carlson notifications@github.com
wrote:

This weekend is tight, but I'll look into it further as soon as I can.


Reply to this email directly or view it on GitHub
#75 (comment).

@dbox
Copy link
Contributor

dbox commented May 21, 2015

Ideally would love to get this guy fixed before 2.0, so that the last version of 1.x.x is super stable as well.

@connorwyatt
Copy link
Contributor

I see, I can't replicate this issue, might have another look at some point

@dbox
Copy link
Contributor

dbox commented May 21, 2015

I never could either. @tmaiaroto or @simonv4549 can you put your test page back up and we'll give it another look. thanks!

@connorwyatt
Copy link
Contributor

Yeah that would help
On 21 May 2015 16:20, "Daniel Box" notifications@github.com wrote:

I never could either. @tmaiaroto https://github.com/tmaiaroto or
@simonv4549 https://github.com/simonv4549 can you put your test page
back up and we'll give it another look. thanks!


Reply to this email directly or view it on GitHub
#75 (comment).

@andrewicarlson
Copy link
Contributor

Sorry guys, I fully intended to look into this further since I was able to replicate but I've just been slammed with work recently.

@dbox
Copy link
Contributor

dbox commented May 21, 2015

:iknowthatfeel:

@connorwyatt
Copy link
Contributor

Could you replicate the issue?

On 21 May 2015, at 16:25, Andrew Carlson notifications@github.com wrote:

Sorry guys, I fully intended to look into this further since I was able to replicate but I've just been slammed with work recently.


Reply to this email directly or view it on GitHub #75 (comment).

@dbox
Copy link
Contributor

dbox commented May 21, 2015

@aicarlson could, yes

@andrewicarlson
Copy link
Contributor

Alright, I don't have time to debug right now but the least I could do is set it up in an instance where this is an issue.

http://codepen.io/aicarlson/full/EjgvzW/

Chrome 43.0.2357.65 (64-bit) (This is what I'm in now, it happens in more browsers)
Mac OSX Yosemite

Reduce the screen size to ~400px and you'll see that the last row of icons resizes differently than the preceding 3 rows.

@dbox
Copy link
Contributor

dbox commented May 21, 2015

Thanks @aicarlson

@andrewicarlson
Copy link
Contributor

It's the least I can do, sorry I can't be of more help! If you aren't able to replicate it on there let me know.

Date: Thu, 21 May 2015 08:41:46 -0700
From: notifications@github.com
To: rrssb@noreply.github.com
CC: aicarlson@outlook.com
Subject: Re: [rrssb] Not rendering correclty issue (#75)

Thanks @aicarlson


Reply to this email directly or view it on GitHub.

@dbox
Copy link
Contributor

dbox commented May 21, 2015

I'm seeing it there.

@connorwyatt
Copy link
Contributor

Right I see too. This will need sorting as it will still be present in 2.0 otherwise

@connorwyatt
Copy link
Contributor

I'll take a look in a bit

@connorwyatt
Copy link
Contributor

Me too

On 21 May 2015, at 16:44, Daniel Box notifications@github.com wrote:

I'm seeing it there.


Reply to this email directly or view it on GitHub #75 (comment).

@dbox
Copy link
Contributor

dbox commented May 21, 2015

@joshuatuscan Any ideas on this guy? (See @aicarlson's code pen a few posts up)

@connorwyatt
Copy link
Contributor

I might be able to find out what is wrong as im building 2.0 up incrementally, at the moment I have no idea though

@dbox
Copy link
Contributor

dbox commented Dec 9, 2015

@aicarlson Do you still have that codepen somewhere? Link is 404ing for me.

@andrewicarlson
Copy link
Contributor

I don't, I think I cleaned it out a little while back. I could replicate it
for you again, I'll try to get that to you guys today.

On Tue, Dec 8, 2015 at 8:48 PM, Daniel Box notifications@github.com wrote:

@aicarlson https://github.com/aicarlson Do you still have that codepen
somewhere? Link is 404ing for me.


Reply to this email directly or view it on GitHub
#75 (comment).

@dbox
Copy link
Contributor

dbox commented Dec 9, 2015

@aicarlson No worries. I just did it.

This is definitely still happening. Currently happening in Chrome, but not Safari or Firefox for me:

http://codepen.io/dbox/full/vLONzd/

@dbox dbox changed the title Not rendering correclty issue Not rendering correctly with multiple instances Dec 9, 2015
@NajibF
Copy link

NajibF commented Jan 18, 2016

In my case this is happing not in the first loop but other loops in Chrome just for Icons not buttons, but if I change the browser size smaller enough the button disappeared and now it shows the icons.
social

@NajibF
Copy link

NajibF commented Jan 18, 2016

So, Is there an option to turn off the button and only show the icon?

@dbox
Copy link
Contributor

dbox commented Jan 18, 2016

@oskar9 it does that automatically below a certain size ...
image

I've never seen that issue. Feel free to hop in chat to help debug your specific case: https://gitter.im/kni-labs/rrssb?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

Multiple instances per page weren't part of the original scope of the project, but we'll keep trying to get it working.

@NajibF
Copy link

NajibF commented Jan 18, 2016

Here is a big pic my demo.php that demostrate my issue:
share2

@andrewicarlson
Copy link
Contributor

I'm poking around at this again in my 'spare' time. I thought it might have something to do with the debounce function but that was a false positive.

@dbox
Copy link
Contributor

dbox commented Apr 25, 2016

Spare time? What's that!

@andrewicarlson
Copy link
Contributor

@dbox Good question, I'll let you know when I find out!

@dbox
Copy link
Contributor

dbox commented Apr 25, 2016

:) Thanks for poking around again!

@dbox
Copy link
Contributor

dbox commented Oct 14, 2016

Anyone have any new insight on this? Multiple instances weren't really part of the initial plan for this repo, so going to close this for now. If anyone is able to get a fix going please submit a PR. Thanks!

@dbox dbox closed this as completed Oct 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants