abledom 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -317,11 +317,11 @@ var NotificationUI = class {
317
317
  "div",
318
318
  { class: "abledom-notification-container" },
319
319
  (container) => {
320
- container.onmouseover = () => {
320
+ container.onmouseenter = () => {
321
321
  var _a;
322
322
  element && ((_a = this._notificationsUI) == null ? void 0 : _a.highlight(element));
323
323
  };
324
- container.onmouseout = () => {
324
+ container.onmouseleave = () => {
325
325
  var _a;
326
326
  (_a = this._notificationsUI) == null ? void 0 : _a.highlight(null);
327
327
  };
@@ -363,7 +363,7 @@ var NotificationUI = class {
363
363
  if (element2) {
364
364
  revealButton.onclick = () => {
365
365
  var _a;
366
- element2.scrollIntoView();
366
+ element2.scrollIntoView({ block: "center" });
367
367
  (_a = this._notificationsUI) == null ? void 0 : _a.highlight(element2);
368
368
  };
369
369
  } else {