wazuh / wazuh-dashboard-plugins

Plugins for Wazuh Dashboard
https://wazuh.com/
GNU General Public License v2.0
434 stars 180 forks source link

Back to top button is not working #4048

Open BelenValdivia opened 2 years ago

BelenValdivia commented 2 years ago
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

Mayons commented 2 years ago

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

gdiazlo commented 2 years ago

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

gdiazlo commented 2 years ago

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.