Vertical rule grow infinite !
See original GitHub issueI think the vertical
rule have some bug ? it seem grow infinitely when is compute rendering!
Horizontal work fine !
here preview gif 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:
- Created 3 years ago
- Comments:10 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@djmisterjon
Add
to Muibox-root-18
@djmisterjon I would really appreciate it if you did. It does not reproduce well.