earwig / bitshift

A semantic search engine for source code
https://bitshift.benkurtovic.com/
MIT License
30 stars 5 forks source link

Faulty search-result response to hover. #43

Closed sevko closed 10 years ago

sevko commented 10 years ago

The search-results' response to a mouse-over is strange: sometimes, I'll hover over a result and its hidden-information panel will slide out, but will still remain there if I've navigated my cursor off the result in just the right way (to the right of the screen, then the bottom).

Also, I believe that the code viewports should have a fixed-width on-hover, which would be less visually disruptive if the user scrolled over all of the visible results. Granted, it might look slightly disbalanced, but I don't believe it's a problem because the width of the hidden-panel is significantly smaller than that of the code panel, and because only one such panel will be visible at any given time. Handled in @69ca385.

sevko commented 10 years ago

Additionally, set td#code to overflow: auto when the hidden panel is visible.

sevko commented 10 years ago

The fixed-width code viewport was handled in @69ca385, and knocked out

benattal commented 10 years ago

I was using el.one instead of el.on -- silly mistake.