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.

CSS makes some big assumptions on absolute positioning.

See original GitHub issue

First attempt to throw the simplest Plotly.js + Editor into a create-react-app app.

image

The Panels have no set width and are positioned 100px from the right… so if you have a margin…

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
bpostlethwaitecommented, Dec 27, 2017

yeh could be a sep issue. Another related but separate issue is that I would like a way to programmatically change which panel is open. Specifically some way of putting the bit of state that controls the open panel into the Application state rather then the editor state. But yeh I’ll make an issue for that specifically.

0reactions
aulneaucommented, Dec 27, 2017

Cool okay, perfect. I was thinking it might make sense to allow people to change the order of sidebar and panel. In situations where people might have the editor on the right, we could allow for the sidebar to be flush against the right of the container. But that might be a sep issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSS Positioning: absolute, the overused
Because position: absolute takes the element out of the flow of the document, everything else has to be adjusted to compensate for it,...
Read more >
does CSS absolute positioning mean don't use it?
Well, no. position:absolute; means it is absolutely positioned in a relatively positioned container. Take the following example:
Read more >
CSS Positioned Layout Module Level 3
Absolute positioning, which ignores normal layout entirely, pulling the element out of flow and positioning it relative to its containing block ...
Read more >
Absolute center position - Kristijan - Medium
When you are positioning something absolute, position will be decided based on first parent element that has relative position. For this I will...
Read more >
Conflicting Absolute Positions
It means our assumption that only one corner of a div can be absolutely positioned on a page creates a problem specifically for...
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