aframevr / aframe-inspector

:mag: Visual inspector tool for A-Frame. Hit *<ctrl> + <alt> + i* on any A-Frame scene.
https://aframe.io/aframe-inspector/examples/
MIT License
654 stars 201 forks source link

added styling for scroll-bar #371

Closed odGit closed 5 years ago

odGit commented 7 years ago

This it an initial changes for issue #297 I would like to hear you feedback and maybe some sketch of how you would like it.

fernandojsg commented 7 years ago

Hi @odGit ! thanks for helping with that. I don't have much experience with styling scrollbars, but is not possible to style it also on firefox? I've see it working just on chrome. About the style, I believe @feiss could help here giving some tips as he's taking care of the overall inspector aesthetics.

feiss commented 7 years ago

afaik, the only way of styling scrollbars in firefox is not using native scrollbars, but a js library like https://www.npmjs.com/package/react-scrollbar

odGit commented 7 years ago

Thanks @feiss, I will have a look at this one.

fernandojsg commented 7 years ago

It looks like they didn't update it for a while and it has many bugs, some of them related to dynamically modify the height of the container. So I don't feel quite confident about using it. Maybe we could just define an style for chrome and leave firefox for another PR if we find a more stable scrollbar solution.

ngokevin commented 5 years ago

https://github.com/aframevr/aframe-inspector/commit/c49af2ed2adcc674d1e2e4354c149ea462d9102f