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

Items repeating #1

Closed
cyrussutaria opened this issue Dec 14, 2021 · 8 comments
Closed

Items repeating #1

cyrussutaria opened this issue Dec 14, 2021 · 8 comments
Assignees

Comments

@cyrussutaria
Copy link

cyrussutaria commented Dec 14, 2021

When implemented, the items in the list keep multiplying.

<ul id="feed" class="marqueeContainer">
    <li id="upFirst">First Item</li>
    <li id="upSecond">Second</li>
    <li id="upThird">Third</li>
    <li id="upFourth">Fourth item here</li>
    <li id="upFifth">Fifth</li>
    <li id="upSixth">Six</li>
    <li id="upSeventh">Seven</li>
<script>
    $(document).ready(function() {
        window.TEGMUp = new TEGMarquee({
            marqueeSelector : '#feed',
        });
    TEGMUp.doScroll();
    } );
</script>

Here is the output
image

@pbjTEG pbjTEG self-assigned this Dec 15, 2021
@pbjTEG
Copy link
Owner

pbjTEG commented Dec 15, 2021

Thanks for the heads up. I'll see what I can do.

@pbjTEG pbjTEG pinned this issue Dec 15, 2021
@pbjTEG
Copy link
Owner

pbjTEG commented Dec 27, 2021

@cyrussutaria ,

I'm finally getting to work on this now that EOY fundraising is winding down. I am unable to recreate the problem with the code provided.

Can you supply the styles you applied to ul#feed? The size of the viewable area has a great effect upon the scrolling.

@pbjTEG
Copy link
Owner

pbjTEG commented Dec 27, 2021

It might help if I actually publish the docs. I've done that https://pbjteg.github.io/TEGMarquee/

@cyrussutaria
Copy link
Author

@cyrussutaria ,

I'm finally getting to work on this now that EOY fundraising is winding down. I am unable to recreate the problem with the code provided.

Can you supply the styles you applied to ul#feed? The size of the viewable area has a great effect upon the scrolling.

I have used the .css you provided. Here is a snapshot of the element inspected in the browser

image

@pbjTEG
Copy link
Owner

pbjTEG commented Dec 27, 2021

Reproducible in Chrome; so just for most people.

@cyrussutaria
Copy link
Author

Reproducible in Chrome; so just for most people.

Sorry, did you mean you were able to reproduce the issue?

@pbjTEG
Copy link
Owner

pbjTEG commented Dec 30, 2021

@cyrussutaria,

Yes, I was able to recreate on Chrome and Edge. The current version has what I believe to be a fix to the duplication issue and the failure in scrolling down caused by fixing the duplication issue.

If you have time, please let me know if this works for you. Thank you for your help.

@cyrussutaria
Copy link
Author

Yes, thank you very much . The items appear correctly (only once) now. Issue is resolved.
Happy New Year!

@pbjTEG pbjTEG closed this as completed Dec 30, 2021
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

2 participants