Page MenuHomePhabricator

Echo extension personal urls in the sidebar get their class reset when clicking on them
Open, Needs TriagePublicBUG REPORT

Description

Steps to Reproduce:

  1. Install the echo extension with the following theme: https://invent.kde.org/websites/aether-mediawiki (production: community.kde.org)
  1. Click on the notification clock.

Actual Results:

The notification clock has class="d-flex align-items-center position-static" before clicking on it and after clicking on it: class="oo-ui-widget oo-ui-widget-enabled mw-echo-ui-notificationBadgeButtonPopupWidget mw-echo-ui-notificationBadgeButtonPopupWidget-alert".

Expected Results:

Clicking on the clock don't remove unrelated classes. I guess using the classlist js api should works fines (https://developer.mozilla.org/en-US/docs/Web/API/Element/classList).