Project

General

Profile

Actions

Bug #13806

open

Slider handle position offset wrong

Added by Stephan Kerker 4 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
06/27/2025
Due date:
% Done:

0%

Estimated time:

Description

With commit
https://github.com/emweb/wt/commit/3c419c030e1ab30b18219df21569bd1de25b32b7
the slider handle position has been changed.
That caused our sliders (example image attached - when working correctly) to move 30 pixel below their original position.
Since we dont use themes, just plain CSS, we never used WApplication::setCssTheme.
As a workaround, using WApplication->setCssTheme("polished"); and copying the resources from "resources/themes/default" to "resources/themes/polished" solved the issue.
Adjusting CSS, e.g. moving top position by 30 pixel did solve the position of the handle, but the handle still was able to move outside the right side of the slider. This behaviour was only fixable by using the CssTheme "polished".
Is the current behaviour intended that we have to switch from default css theme to polished or is the implementation for WT-11934 suboptimal?


Files

Slider2.png (4.26 KB) Slider2.png Stephan Kerker, 06/27/2025 12:09 PM
Slider.png (3.86 KB) Slider.png Stephan Kerker, 06/27/2025 12:09 PM

No data to display

Actions

Also available in: Atom PDF