Virtual-scroll no longer capture gamepad right stick

FS24 1.4.20.0, both Xbox and PC

I have an issue with HTML toolbar which uses default virtualscroll template. It works correctly with mouse wheel, but when I push gamepad’s right stick scrolling does not happen, only R icon appear. Is this feature still works?

inside content covered by

<virtual-scroll direction="y" class="list-with-buttons" id="myBox">
</virtual-scroll>

Hello @thealx

Can you send us your package to reproduce the issue please ?
See How to report a bug or crash

Regards,
Boris

It can be tested on live product - Airshow Assistant

also test project with minimal html/css posted as private content. no JS/WASM used to eliminate possible conflict

Hello,

Your project is a native msfs2024 am I right ?
In that case, the ui is not the same as MSFS2024 and some tag are now obsolete.

You will need to use the tag <real-scroll> instead.
This will be added in the documentation along with some examples.

Regards,
Boris

Hello @thealx,

I just had some news from the devs about this.

In fact real-scroll is not exposed so it won’t work at all.
We created an item in our backlog and this will be investigated.

I will keep you updated.

Regards,
Boris

3 Likes

Any updates on this? It would be great if the functionality for virtual scroll was restored or replaced, and if there was some documentation on the 2020 html tags that don’t work anymore in 2024.

@Boris I’ve done some investigation into the issue, and it seems the cause is quite simple. There is no problem with the JS code itselfs, it’s only the key bindings.

The virtual scroll uses /JS/PadScroll.js\, which uses some inputs:

The problem is that in MSFS2024, those inputs aren’t assigned by default, and cannot be defined in the control options menu.

In an exported profile .xml, I can see they’re not assigned:

I’ve manually edited the profile to assign the vertical scroll and his fixed the scrolling behaviour.

TestProfile.xml (184.3 KB)


Could you please make these 4 inputs assigned by default, or change the `/JS/PadScroll.js\` to use input keys that are actually assigned by default?
2 Likes

Hello @Jayshrike,

I have forwarded your post to the dev.
Thank you !

Regards,
Boris

1 Like

Hi @Boris do you know if there is any progress on this?

I’ve tested an easy fix of PadScroll.js that fixes the keybind issues:

It just requires these 6 lines to be changed with the new keybinds (as shown in the picture). This restores the functionality of vertical as well as horizontal scrolling.

Unfortunately I can’t override core UI files, so could Asobo please implement this fix?

Hi @Jayshrike ,

Thank you :slight_smile:
The devs are already aware of the changes needed in the file.
The fix should be planned for SU6.
I will update the ticket accordingly when I have some news to share.

Regards,
Boris

1 Like

Hello @thealx

This is fixed in SU6 Beta 1.8.8.0

Regards,
Sylvain

1 Like

This topic has been automatically closed after 60 days of inactivity since it was marked as fixed.

If there is important new information about this same report, you can use the “Request reopen” button below to ask the moderation team to review it again.
For other issues or broader discussion, please open a new topic in the appropriate category.