Preview sometimes shows two identical sliders (screenshot + desc)

Open
#68 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start by reproducing the issue in the Juxtapose preview: paste a new image link, click outside the input, then click Preview. Trace the preview update path to identify why two identical sliders can be created, and confirm done when the preview consistently contains only one slider.

Written by the indexing model from the issue text.

Description

bug

The Juxtapose preview tries to automatically update when a new image link is pasted & the user clicks anywhere outside of the input box. However, if the user clicks the "Preview", it seems like the update gets called twice, creating two identical sliders in the preview area. (Note that this happens regularly, but not every time, so it could be a race condition.)
screen shot 2015-09-02 at 5 27 13 pm

Dominant language
JavaScript
Stars
882
Forks
127
Avg merge
1m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NUKnightLab/juxtapose

All issues in NUKnightLab/juxtapose

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.