You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the "Show/hide announcement" button toggle on the admin announcements widget the opposite button state after a page load is not showing the correct tooltip layout. Instead it simply shows the browser "tooltip" on long hover which is coming from a wrongly set "title" attribute.
Steps to Reproduce
In admin dashboard hover the mouse cursor over the eye button top right of the announcement widget => Observe the correct tooltip layout explaining the button's purpose
Click it once and hover again => Observe the missing tooltip. Instead after a longer hover wait you will see the browser tooltip shown. If you reload the page now the button will show the correct tooltip styling
Expected Behavior
Hide/show announcements button should always show the same tooltip style on hover.
Screenshots
Screen.Recording.2026-04-20.at.19.57.37.mov
Environment
Flarum version: 2.0.0-rc.1
Browser: Chrome 147
Output of php flarum info
No response
Possible Solution
When using the toggle button for the first time the updated button element gets a title attribute with the correct tooltip text.
Current Behavior
When using the "Show/hide announcement" button toggle on the admin announcements widget the opposite button state after a page load is not showing the correct tooltip layout. Instead it simply shows the browser "tooltip" on long hover which is coming from a wrongly set "title" attribute.
Steps to Reproduce
Expected Behavior
Hide/show announcements button should always show the same tooltip style on hover.
Screenshots
Screen.Recording.2026-04-20.at.19.57.37.mov
Environment
Output of
php flarum infoNo response
Possible Solution
When using the toggle button for the first time the updated button element gets a
titleattribute with the correct tooltip text.Additional Context
No response