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

Studio: Fix splitter layout issue #3691

Merged

Conversation

XeroAlpha
Copy link
Contributor

Issue

In Remotion Studio, when the title of a video/audio is too long and exceeds the screen width (innerWidth), the timeline container also extends accordingly, causing the timeline to not be fully displayed at the minimum zoom level.

Here is an example that triggers this issue:

export const MyComposition = () => {
	const videoUrl = 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4';
	return (
		<AbsoluteFill>
			<Video src={`${videoUrl}?${'x'.repeat(600)}`} />
		</AbsoluteFill>
	);
};

Before:

image

After:

image

This pull request fixes the issue. It is currently unclear whether this fix might cause other bugs.

Copy link

vercel bot commented Apr 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bugs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 10, 2024 9:17am
remotion ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 10, 2024 9:17am

@JonnyBurger
Copy link
Member

Thanks a lot for reporting it and sending a fix alongside! 🙌🏼 Much appreciated!

@JonnyBurger JonnyBurger merged commit e81583c into remotion-dev:main Apr 10, 2024
12 checks passed
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.

None yet

2 participants