Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slider Max Value Label Get Outside Container and Makes Overflow When using rightToLeft #361

Open
malek-itani opened this issue Oct 30, 2023 · 0 comments

Comments

@malek-itani
Copy link

image

having the following options

  value: number = 123;
  options: Options = {
    floor: 0,
    ceil: 250,
    rightToLeft: true,
    translate: (value: number): string => {
      return `Maximun ${value} hours`;
    },
  };

the max label(ngx-slider-model-value) gets outside the window, and doesn't stop at left:0px

image

https://ngx-slider-simple-slider-example-vdofzc.stackblitz.io

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant