Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:show: fix(components/molecule/modal): Dot not execute onClose when onClose changes #2731

Merged
merged 1 commit into from
May 6, 2024

Conversation

ferransimon
Copy link
Collaborator

No description provided.

Copy link

github-actions bot commented May 6, 2024

STATEMENTS BRANCHES FUNCTIONS LINES
≍ 0.02↑ ≍ 0.12↑ ≍ 0.01↓ ≍ 0.01↓
% 76 64.37 66.02 77.76
ABS 3344 / 4400 2044 / 3175 655 / 992 3166 / 4071


const ArticleAnimation = ({className}) => {
const [open, setOpen] = useState(false)
const [animation, setAnimation] = useState(false)

const onChangeHandler = () => {
setOpen(!open)
setOpen(true)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is going to work properly on non animated modals?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ferransimon ferransimon merged commit 62910e6 into master May 6, 2024
7 checks passed
@ferransimon ferransimon deleted the fix/moleculeModalOnClose branch May 6, 2024 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants