Skip to content

Commit

Permalink
fix: no toggle accordion on clicking inside links (#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliaghisini authored and pnicolli committed Mar 7, 2025
1 parent 71c0f91 commit 23f6857
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const ViewBlock = ({ data, isOpen, toggle, id, index }) => {
aria-labelledby={`${id}-${index}`}
hidden={!isOpen}
>
<div className="accordion-inner" onFocus={toggle()}>
<div className="accordion-inner">
{redraft(
data.text,
config.settings.richtextViewSettings.ToHTMLRenderers,
Expand Down

0 comments on commit 23f6857

Please sign in to comment.