openedx / openedx/frontend-app-learning

[RTL] Progress Grade Bar tooltips initial bad positioning

Open
#1,038 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
70
Forks
335
Avg merge
1d 17h
Merged PRs (30d)
35

Description

In RTL languages (e.g. Arabic), the grade bar in the progress tab is badly positioned initially.
image

But after scrolling or resizing the window, popperjs auto positioning kicks in to make correction.
image

The goal of this issue is to solve the initial unexplained position shift to the left.
I think popperjs does a great job with positioning, so something might be wrong either with learning MFE or Paragon's code.

Contributor guide

Open the contributing guide

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.

Research direction

Start with the progress tab's grade bar tooltip in the learning MFE and inspect how its Popper.js positioning is integrated with Paragon. Reproduce the issue in an RTL language on initial load, then compare the position after scrolling or resizing. Done means the tooltip is correctly positioned without requiring either action.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.