wazuh-dashboard-plugins icon indicating copy to clipboard operation
wazuh-dashboard-plugins copied to clipboard

Back to top button is not working

Open BelenValdivia opened this issue 2 years ago • 3 comments

Wazuh Elastic Rev Security
4.3 7.x 4301-1 Basic, ODFE, Xpack
Browser
Firefox

Description After scroll the events, when you click on Back to top button, it doesn't work.

Preconditions

  1. Agent generating events

Steps to reproduce

  1. Navigate to Modules -> Security events -> Events
  2. Do a search/query. Example: rule.level >= 10
  3. Scroll down
  4. Click on Back to top button

Expected Result

  1. I expect to return to the top of the page after click on the button

Actual Result

  1. The button doesn't work

Screenshots https://user-images.githubusercontent.com/26927338/164060182-9298d48d-cbc5-4aad-ae9c-4031c8797cea.mp4

BelenValdivia avatar Apr 19 '22 17:04 BelenValdivia

I tested this issue and it's apparently related to the continuous load of events. To prevent inconvenience we can investigate if it's possible to disable the "Back to the top" button until a load of events is finished

Mayons avatar Apr 19 '22 18:04 Mayons

The native discover plugin works as it should and the cursor goes to the top of the page.

gdiazlo avatar Apr 22 '22 13:04 gdiazlo

We need to improve the usability of the message. Then link migh be disabled after more events are loaded. It is difficult to get to the message without triggering the load of more events.

gdiazlo avatar Apr 25 '22 13:04 gdiazlo