Git Product home page Git Product logo

Comments (8)

RobbieTheWagner avatar RobbieTheWagner commented on May 26, 2024

@patricklx when you say click on anything, do you mean clicking a component to inspect it or do you mean interacting with your app in general? I'm not entirely sure I am following the problem.

from ember-inspector.

patricklx avatar patricklx commented on May 26, 2024

I mean interacting with my app

from ember-inspector.

RobbieTheWagner avatar RobbieTheWagner commented on May 26, 2024

@patricklx I am not able to reproduce on https://music.apple.com/us/browse I clicked a component in Ember Inspector's component tab, which opened the object inspector, then clicked a button on the site and it stayed open. My guess is you are clicking things that teardown the component or something.

from ember-inspector.

patricklx avatar patricklx commented on May 26, 2024

weird, it closes for me when i click on something. I noticed now that it does not close if the tooltip of the current selected component is NOT showing.
If there is a tooltip, then when i click somewhere, it closes the tooltip and the open object inspector

from ember-inspector.

patricklx avatar patricklx commented on May 26, 2024
New.video.mp4

from ember-inspector.

patricklx avatar patricklx commented on May 26, 2024

Any update on this?

from ember-inspector.

RobbieTheWagner avatar RobbieTheWagner commented on May 26, 2024

@patricklx no updates. My guess is that when a tooltip is open, there is a click handler that assumes you are going to be selecting another component and when clicked, it should open the new component, but since you do not have component selection toggled on, it selects nothing and closes.

This is pure speculation, but I think a fix would be to ensure that component inspection is toggled on before trying to grab the new component.

from ember-inspector.

patricklx avatar patricklx commented on May 26, 2024

@rwwagner90 , probably the click handler in the file i pointed out earlier.

document.body.addEventListener('click', bound(this, this.onClick), {
.

and here https://github.com/emberjs/ember-inspector/blob/master/ember_debug/libs/view-inspection.js#L323
It also checks if its inspecting. So probably component inspection enabled. But in the not inspecting case it also closes the object inspector

from ember-inspector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.