question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Vertical rule grow infinite !

See original GitHub issue

I think the vertical rule have some bug ? it seem grow infinitely when is compute rendering! Horizontal work fine !

here preview gif s4g4wheeabwsa3rf3fg3aga2552223 code used in my projet look like this ps:i also try many css styles, without success.

const Camera = ({ children }) => {
	const pos = store({
		x: 0,
		y: 0,
	});
	return (
		<>
	<Box
			className='content'
			bgcolor='grey.700'
			display='flex'
			justifyContent='top'
			flexDirection='column'
			style={{ minWidth: '100%', width: 0, minHeight: '100%', height: 0 }}
		>
			<Box bgcolor='grey.200'>
				<div className='Ruler' style={{ width: '100%', height: '24px' }}>
					<Ruler type='horizontal' scrollPos={pos.x} />
				</div>
			</Box>
			<Box
				className='content'
				bgcolor='grey.700'
				display='flex'
				justifyContent='top'
				flexDirection='row'
				flexGrow={1}
			>
				<Box m={0.5} display='flex' bgcolor='grey.200'>
					<div className='Ruler' style={{ width: '28px' }}>
						<Ruler type='vertical' scrollPos={pos.y} />
					</div>
				</Box>
				<Box flexGrow={1} bgcolor='grey.200'>
					<TransformWrapper
						options={{
							limitToBounds: true,
							limitToWrapper: true,
							minScale: 1,
							maxScale: 2,
						}}
						onPanning={(e) => {
							pos.x = e.positionX;
							pos.y = e.positionY;
						}}
					>
						<TransformComponent>
							<div>Camera:</div>
							<div>{children}</div>
						</TransformComponent>
					</TransformWrapper>
				</Box>
			</Box>
		</Box>
		</>
	);
};
export default view(Camera);

is this a know issue ? or if you want i can take time to make you a demo ? thanks again

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
daybrushcommented, Jul 11, 2020

@djmisterjon

Add

height: calc(100% - 24px);

to Muibox-root-18

1reaction
daybrushcommented, Jul 11, 2020

@djmisterjon I would really appreciate it if you did. It does not reproduce well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

3.5 Limits at Infinity, Infinite Limits and Asymptotes
Specifically, we will see that the above functions have different growth rates at infinity. Some increases to infinity faster than others. Specifically,.
Read more >
Connect Infinite Limits and Vertical/Horizontal Asymptotes
These rules follow from how the function grows as the inputs get larger, ignoring everything but the leading terms. Then, note that, while...
Read more >
A vertical line of infinite slope or undefined? - Reddit
Suppose g(x) has a vertical asymptote (both sides tending to infinity) at x=0, and is also the derivative of f(x). We define slope...
Read more >
how to create 100% vertical line in css - Stack Overflow
Use an absolutely positioned pseudo element: ul:after { content: ''; width: 0; height: 100%; position: absolute; border: 1px solid black; top: 0; ...
Read more >
Infinite Limits
If a limit is +∞, then the function grows without end. If the limit is −∞, it shrinks without end. Vertical Asymptotes ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found