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.

Tooltip gets clipped, causes flickering scroll behavior

See original GitHub issue

This is a followup issue on #7431. The relevant code is here.

Observed behavior

When editing a quiz (“coach --> plan --> quizzes --> <quiz>”) with missing content in a narrow window, the missing content icon appears on a new line, causing a vertical scrollbar to appear.

The tooltip sometimes gets clipped, and hovering over the missing content icon results in strange flickering.

Expected behavior

The missing content icon (“⚠️”) should not break to a new line; The tooltip should not clip and there should be no scrollbar and no flickering.

User-facing consequences

It’s distracting and potentially jarring or worrisome (“⚠️”) for anyone trying to figure out what’s going on.

fluttering tooltip

Steps to reproduce

  1. Import a facility with a classroom+quiz to a blank Kolibri instance with no content data.
  2. Edit the quiz (“coach --> plan --> quizzes --> <quiz>”)
  3. Make the browser window narrow until one of the “⚠️” icons breaks to a new line
  4. Hover over the icon

Context

This happened with Kolibri 0.14beta15 with #7431 applied. As soon as that PR is merged, you should be able to reproduce this on the release-v0.14.x branch

It happens both on Firefox and Chromium

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
nucleogenesiscommented, Aug 5, 2020

The newline break may be either caused or fixed by using a KLabledIcon with the iconAfter prop. If the wrapping component has a width set on it, a KLabeledIcon would fill the space

https://github.com/learningequality/kolibri-design-system/blob/704fbb08002771856f64360164469267bf3405ed/lib/KLabeledIcon.vue#L21

0reactions
rtibblescommented, Mar 22, 2022

Super! Closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tooltip flickering on show - Stack Overflow
On my webpage, I want tooltips to appear when the user loads the page, but then I want them to disappear after the...
Read more >
Tooltip is overflowed by another DOM element #5784 - GitHub
Actual behaviour. My chart can have quite a big height, therefore I have wrapped it into a div with a fixed height and...
Read more >
Fix flickering tooltips in Chrome when the tip container ...
In Chrome, hovered a timestamp and moved the mouse up to the "overlap" area (see T8440). Before: flickered like crazy. After: no flickering....
Read more >
Scheduler/feature/EventTooltip - Bryntum
By default, the tooltip realigns on scroll meaning that it will stay aligned with its target should a scroll interaction make the target...
Read more >
AG Grid Changelog
resetRowHeights() causes flicker as rows render themselves twice instead of once. ... When using master-detail, long tooltips are clipped by the detail grid ......
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