Skip to content

Commit

Permalink
Merge pull request #366 from dshoreman/properly-hide-slideover
Browse files Browse the repository at this point in the history
Fix slide-over wrapper/overlay not hiding on close
  • Loading branch information
mitkins authored Nov 3, 2024
2 parents a9f5b43 + 9d58dc0 commit 33f2c9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/petal_components/slide_over.ex
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ defmodule PetalComponents.SlideOver do
},
to: "#slide-over-content"
)
|> JS.hide(to: "#slide-over")

if close_slide_over_target do
JS.push(js, "close_slide_over", target: close_slide_over_target)
Expand Down

0 comments on commit 33f2c9b

Please sign in to comment.