This was tested on iPhone 12. It works fine on Android.
Making horizontal arrangement with slider inside visible with code makes the slider size small.
But making horizontal arrangement with slider inside visible with the property UI is fine.
Before clicking the button
After clicking the button
Try for yourself:
BugIOSSlider.aia (1.6 KB)