Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

solid-dismiss

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solid-dismiss - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

2

dist/esm/index.js

@@ -1733,3 +1733,3 @@ import { insert, template, delegateEvents, addEventListener, effect, setAttribute, classList, createComponent, mergeProps } from 'solid-js/web';

_v$6 = props.open() ? "0" : "-1",
_v$7 = state.hasFocusSentinels && props.open() ? "0" : "-1";
_v$7 = props.open() && state.hasFocusSentinels ? "0" : "-1";

@@ -1736,0 +1736,0 @@ _v$3 !== _p$._v$3 && setAttribute(_el$2, "id", _p$._v$3 = _v$3);

@@ -388,3 +388,3 @@ import "./browserInfo";

{children}
<div tabindex={state.hasFocusSentinels && props.open() ? "0" : "-1"} onFocus={() => {
<div tabindex={props.open() && state.hasFocusSentinels ? "0" : "-1"} onFocus={() => {
onFocusSentinel(state, "last");

@@ -391,0 +391,0 @@ }} style="position: fixed; top: 0; left: 0; outline: none; pointer-events: none; width: 0; height: 0;" aria-hidden="true" ref={state.focusSentinelLastEl}></div>

{
"name": "solid-dismiss",
"version": "1.0.8",
"version": "1.0.9",
"homepage": "https://aquaductape.github.io/solid-dismiss/",

@@ -5,0 +5,0 @@ "description": "Handles \"click outside\" behavior for popup menu. Closing is triggered by click/focus outside of popup element or pressing \"Escape\" key.",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc