Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b077d15

Browse filesBrowse files
committed
#310 FIX Toast fix autohide function on mouseLeave
1 parent 93be61e commit b077d15
Copy full SHA for b077d15

File tree

Expand file treeCollapse file tree

2 files changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-5
lines changed

‎packages/coreui-react/src/components/toast/CToast.tsx

Copy file name to clipboardExpand all lines: packages/coreui-react/src/components/toast/CToast.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export const CToast = forwardRef<HTMLDivElement, CToastProps>(
153153
aria-atomic="true"
154154
role="alert"
155155
onMouseEnter={() => clearTimeout(timeout.current)}
156-
onMouseLeave={() => _autohide}
156+
onMouseLeave={() => _autohide()}
157157
{...rest}
158158
key={key}
159159
ref={forkedRef}

‎yarn.lock

Copy file name to clipboardExpand all lines: yarn.lock
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13657,10 +13657,10 @@ pretty-format@^28.1.1:
1365713657
ansi-styles "^5.0.0"
1365813658
react-is "^18.0.0"
1365913659

13660-
prism-react-renderer@^1.3.1:
13661-
version "1.3.3"
13662-
resolved "https://registry.yarnpkg.com/prism-react-renderer/-/prism-react-renderer-1.3.3.tgz#9b5a4211a6756eee3c96fee9a05733abc0b0805c"
13663-
integrity sha512-Viur/7tBTCH2HmYzwCHmt2rEFn+rdIWNIINXyg0StiISbDiIhHKhrFuEK8eMkKgvsIYSjgGqy/hNyucHp6FpoQ==
13660+
prism-react-renderer@^1.3.5:
13661+
version "1.3.5"
13662+
resolved "https://registry.yarnpkg.com/prism-react-renderer/-/prism-react-renderer-1.3.5.tgz#786bb69aa6f73c32ba1ee813fbe17a0115435085"
13663+
integrity sha512-IJ+MSwBWKG+SM3b2SUfdrhC+gu01QkV2KmRQgREThBfSQRoufqRfxfHUxpG1WcaFjP+kojcFyO9Qqtpgt3qLCg==
1366413664

1366513665
prismjs@^1.27.0:
1366613666
version "1.28.0"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.