Closed leonardfactory closed 8 years ago
I can verify this bug presence. My apm ls --installed
is much smaller, though:
$ apm ls --installed
Community Packages (13) /Users/vesa/.atom/packages
├── atom-pair@2.0.10
├── atom-ternjs@0.14.2
├── editorconfig@1.4.1
├── git-plus@5.16.2
├── language-babel@2.32.2
├── language-haml@0.24.0
├── linter@1.11.14
├── linter-eslint@7.2.4
├── linter-rubocop@0.4.7
├── nuclide@0.159.0
├── project-manager@2.9.7
├── save-session@0.16.0
└── tablr@1.3.2
└── (empty)
Also was running on Atom 1.9.2 and updated to Atom 1.9.4, both had the same issue.
I also have a Retina Macbook Pro and an external, non-retina display attached to it if it matters.
EDIT: I have the linter
package disabled, but I could remove it, too.
EDIT2: Uninstalled, but still suffering from the same issue.
Here's some screenshots from debugging in inspector. Seems that the width doesn't expand after some element so that only a min-width
that is set with selector .nuclide-type-hint-text-editor atom-text-editor
is applied:
This is actually a duplicate of #542
With a bit hacking around in the inspector, I was able to determine that it is due to the container not resizing as the lines-tile-component
in atom sets a position: absolute
to the wrapped lines-component
. I don't really know how Atom renders these lines and containers or how Nuclide renders type hints, but hopefully these can help you debug this further and even fix it?
I am able to "fix" this by dropping away the position: absolute
from the wrapper component as shown in this screenshot:
Could this be because of Atom 1.9 and the new logic of rendering display layers or something? http://blog.atom.io/2016/08/01/atom-1-9-and-1-10-beta.html
I have the same issue with Atom 1.9.0 and Nuclide 0.158.0
Same issue. :/
@valscion Digging furthermore in the inspect, I've found that actually a class is missing (shows as undefined
) in the datatip container:
<div data-reactroot="">
<div class="undefined nuclide-datatip-container"> {/* here */}
<div class="nuclide-datatip-content">...</div>
<div class="nuclide-datatip-pin-button icon-pin" title="Pin this Datatip">...</div>
</div>
</div>
I can't see at the moment if class was defined in previous atom version (or this is unrelated), but I hope this may helps debugging.
Yes this is a known issue with Nuclide and Atom 1.9. We are actively working on a fix.
Currently Nuclide is compatible with Atom 1.8.0.
Workaround - use this as custom style
.nuclide-type-hint-text-editor atom-text-editor::shadow .editor-contents--private > .scroll-view > .lines > div > div {
position: relative!important;
}
This is happening to me with Atom 1.20.0
Issue and Steps to Reproduce
Flow type preview (the tooltip appearing on mouse over a Type, variable, etc.), doesn't resize based on type description length, while it keeps showing in a 1 character-wide box.
The issue started appearing when I upgraded to Atom 1.9.3.
Expected Behavior
The type preview tooltip should resize based on type description length.
Actual Behavior
The type preview tooltip always shows one character only.
Versions
Additional Details
apm ls --installed
):