Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Fix missing sidebar in Chrome 34 and later #30

Closed
wants to merge 1 commit into from

Conversation

sophiebits
Copy link
Contributor

See #29.

I updated blink-devtools to the latest (requires sebmarkbage/blink-devtools#1)
and did a manual merge, changing ReactPanel.js to match all changes that
happened to ElementPanel.js since the last devtools version.

I'm not sure we actually want to continue tracking the latest devtools; we
could presumably keep an old version of the panels and just fix the specific
problem with the removed SidebarView.

This doesn't actually work properly yet due to some style-related bug; when
the panel is rendered, the View components read all of their dimensions as 0,
then 0 is set as the actual width and height of each element, causing nothing
to display. However, if the script debugger is used within ReactPanel.show
to inspect this.element (but not to change any properties on it), then the
panel seems to display correctly. I'm not sure how to go about fixing this. I
can look more later, but if anyone has ideas here I'd appreciate it.

See facebook#29.

I updated blink-devtools to the latest (requires sebmarkbage/blink-devtools#1) and did a manual merge, changing ReactPanel.js to match all changes that happened to ElementPanel.js since the last devtools version.

I'm not sure we actually want to continue tracking the latest devtools; we could presumably keep an old version of the panels and just fix the specific problem with the removed SidebarView.

This doesn't actually work properly yet due to some style-related bug; when the panel is rendered, the View components read all of their dimensions as 0, then 0 is set as the actual width and height of each element, causing nothing to display. However, if the script debugger is used within `ReactPanel.show` to inspect `this.element` (but not to change any properties on it), then the panel seems to display correctly. I'm not sure how to go about fixing this. I can look more later, but if anyone has ideas here I'd appreciate it.
@sophiebits
Copy link
Contributor Author

Seems to be working in latest Chrome again, so I'll close this out for now… sounds like we probably will want to track blink devtools but we'll cut at a release in hopes that it'll be more stable.

@sophiebits sophiebits closed this Mar 28, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant