Questions about range component #11571
-
https://taiga-ui.dev/components/range All components I tested work, but all of them seem to be too small compared to the ones displayed from the DOCS. This is not happening only for this one.
Sizes are different but even M is not big enough: Also when I grab the dot I don't see it moving, but when I leave it, it goes to the right position. How I detect the value was updated? Info:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Could it be that you html tag has font-size smaller than 16px? Our library is all in rem units so you can control the scale by scaling root font-size. You can just move your font-size to body if that's the case. As for dragging, did install Taiga UI manually or with ng add? Check that all the steps are done: I didn't understand you last bullet but I think I answered that in a separate question about two-color slider. |
Beta Was this translation helpful? Give feedback.
-
No, I don't really have anything, but worst case scenario if the font-size is the only thing affecting it, I could make it bigger anyways using css (if there is no L/XL size I mean, I need it much bigger). I installed Taiga manually. Checking again, I forgot about the providers part since I had no main.ts. I refactored it and removed
but after all of this it is the same, no animation. About knowing the updated value, what I mean is that I miss some info from the docs on how could I detect the different component events. For example, HERE I see |
Beta Was this translation helpful? Give feedback.
-
I tested the slider component and this one looks "all" fine. With the range I notised these issues:
(don't mind the laggy animation, it's fixed) Screen.Recording.2025-08-13.at.12.38.29.movI'm importing these 2 as docs mention:
I understand that these could be related to my project (at least one of them was no), because I was testing HERE (the package.json is the same one I have) and I'm not able to reproduce it, but any general idea about these issue could be really handy to find the fix. Do you remember anyone having this maybe? My first clue is Bootstrap having some conflicts with this (but not sure why it doesn't affect slider component also). Edit: for the pin position, there are some missing css vars |
Beta Was this translation helpful? Give feedback.
Do you have your app wrapped around with
tui-root
component?