Tab content does not change sometimes

Open
#288 2 comments 1 reaction 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
Needs clarification
Activity status
Stale
Tech stack
html
Domain
frontend, web-dev

Research direction

Start by reproducing the tab-switching sequence described in the report while another tab is loading, using the linked videos and issue #287 for context. The issue names no files or tests, so trace the tab-loading entry point and verify that each tab retains its own content when switching quickly.

Written by the indexing model from the issue text.

Description

While doing some tests for https://github.com/scripting/Scripting-News/issues/287 I came across a strange behavior which I can constantly replicate: if you switch tabs while another one is loading, the contents of the loading tab will be the same as the the first one. I recorded a couple videos demonstrating that.

Expected behavior

Tabs load as I go through them

https://github.com/scripting/a8c-FeedLand-Support/assets/24195829/e176f0f5-641a-47eb-9919-9c56931c8249

What happens

If I switch tabs fast enough, the content will be replaced and not appended to the document. In the end you can see all tabs have the same content except for the Dave tab (which I wasn't fast enough to switch before loading).

https://github.com/scripting/a8c-FeedLand-Support/assets/24195829/1db97044-9f3a-4ce8-b5c7-c07bcb179f67

Dominant language
HTML
Stars
134
Forks
10
PR merge metrics
No merged PRs in 30d

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 scripting/Scripting-News

All issues in scripting/Scripting-News

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.