debeatzgh1 / debeatzgh1/Html-code-for-portfolio-

Modal cards do not animate correctly on first open

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

When the modal opens, the `.project-card` elements are supposed to animate using the `slideUp` animation. However, the cards stay invisible due to a bug in the `transitionend` listener.

Steps to Reproduce:
1. Click "View All Projects" button
2. Observe that no animation occurs and cards remain hidden

Suggested Fix:
Replace `transitionend` with a `setTimeout` inside `openModal()` or use the `animationend` event instead.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.