AP-Students / website

1 stars 17 forks source link

resolve sidebar Firefox issue (#59) #63

Closed elijah-wright closed 3 months ago

elijah-wright commented 3 months ago

the reason for this is because Firefox doesn't animate display: none as a discrete property, because it would cancel out the animation. that behavior may change with transition-behavior: allow-discrete, which will be included in Firefox 129 next week. the solution is to animate the content in the sidebar to position: absolute, which has issues but works across Firefox and Chromium browsers

alexng353 commented 3 months ago

Feel free to merge this whenever you want

elijah-wright commented 3 months ago

I don't have merge access

alexng353 commented 3 months ago

I don't have merge access

I can merge it if you want then