EFB API Slider Component onFocusOut() Broken

Version: 1.7.3

Frequency: Consistently

Severity: High

Context: EFB API Component (Slider)

Similar MSFS 2020 issue: -

Bug description: When using multiple Slider Components from the EFB API, the onFocusOut() event for all sliders is triggered whenever a user left-clicks or right-clicks outside of the EFB screen. However, it works correctly when we pop out the EFB (using the TAB Button) and then click inside the EFB (only the focused slider is reacting). It was working well on previous versions, but I can’t track which update this problem started happening. At least it happened at this 1.7.3 version.

Repro steps: Make EFB Page that uses multiple Slider components, use the onFocusOut() to call console.log("anything"), click on any area outside of the EFB Screen like on the cockpit or even when using the external camera.

Attachments: -

Private attachments: -

Hello @measjordan

Are you aware of any configuration where this occurs with the default apps?
I suspect we don’t have such a case.

Regards,
Sylvain

Using the default Cessna 172, the Quick fill Slider’s onFocusOut() is always responding to clicks on outside of the EFB. It happens whenever the Mass and Balance page is displayed or on another page.

The onFocusIn() is work normally btw, only when we click on the Quick Fill slider.

1 Like

Hello @measjordan

Thanks, we were also able to replicate this behavior by adding multiple sliders to the SDK Template app.
Are you doing something particular that makes this very annoying? I’m asking so we can raise the priority on something that might be deemed a minor bug at first.

Regards,
Sylvain

1 Like

Hi @FlyingRaccoon

Thanks for responding! Nah, I actually have implemented a workaround for this; just add a simple like isDragging: boolean on the onFocusIn() for now, and it works. Just having kinda a lot of them ahaha :laughing:

1 Like