question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Marquee restarts after submitAnswer

See original GitHub issue

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to The Meaning of Equal Parts exploration
  2. Go to Second state. Note that the title is not moving.
  3. Submit current answer.
  4. Marquee effect starts.

Expected behavior Marquess effect should start only on click on the toolbar and not automatically.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
rt4914commented, Sep 8, 2020

@anandwana001 @rt4914 I found out that, marquee starts only when isSelected is set to true. So, I tried to set this property false, whenever we click the submit button, but then I discovered that it again restarts when we click on the editText to write the answer or whenever we close the keyboard. So, should I try setting the property to false when the keyboard appears and disapperars. I also tried to find out why it is getting selected after submitting answer but didn’t find anything suspicious. So, is this the right approach to solve it?

@prayutsu Instead of finding the solution, the approach in case of bugs should be like this:

  1. First try to find the exact reasons of the bugs.
  2. Once you have identified the reason, write a test case which actually fails because of the bug. (This will be needed in future).
  3. Now work towards solution.
  4. Now, the test cases which were written in (2.) should pass and that way we can be sure that the bug has been fixed.

So at this stage you should focus on step 1.

0reactions
etigoelcommented, Jan 20, 2021

Sure.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why Does My CSS3 Marquee Animation Restart?
A simple marquee. However, when I load the page, the text scrolls only some of the way off of the page, then resets...
Read more >
Flicker when animation marquee restarts - GSAP - GreenSock
I am trying to create a marquee animation, everything works fine but there is a flicker or something else you can see text...
Read more >
The Marquee element - HTML: HyperText Markup Language
Chrome Edge marquee. Deprecated Full support. Chrome1. Toggle history Full support. Edge12. Toggle... behavior. Deprecated Full support. Chrome1. Toggle history Full support. Edge12. Toggle... bgcolor. Deprecated...
Read more >
cross browser marquee restarts before finishing [Archive]
I have seen some occasions where the included iframe does not scroll as it should. Sometimes it will scroll fine after hitting the...
Read more >
Marquee resets when text hits left of screen · Issue #2 - GitHub
The marquee won't scroll as one continous feed. When the text scrolls from right to left and hits the left side of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found