-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Bootstrap 4 Compatibility #689
Comments
Maybe, wait for boostrap 4 beta version. alpha is unstable : maybe in was added in some day. |
Would be happy to have a PR that adds these classes to the LESS/SCSS files! |
@seiyria do you think we should just take the bootstrap 3 tooltip SCSS that has been removed in v4 and add it to the bootstrap-slider SCSS? |
It'd probably just be a matter of copying and pasting, yes. We don't want any hard reliance on bootstrap. |
any chance this can be resolved quickly so we can use bootstrap v4? |
Sure, if you submit a PR for it. |
just add : this will fix the problem of tooltip in bootstrap 4 |
@taha333taha in my case, the tooltip was too wide. This is the fix I added to my SCSS: .slider.slider-horizontal:hover, .slider.slider-vertical:hover {
.tooltip.tooltip-main {
opacity: 0.7 !important;
}
.tooltip-inner {
font-size: 90%;
width: auto;
}
} |
@seiyria not fixed yet? hey your user still waiting compatibility fix for bootstrap 4 😄 |
@str i moved to Ion range slider , it's better in bootstrap 4 without any errors |
We're happy to have pull requests but we don't actively work on this.
…On Fri, Jun 30, 2017, 7:45 AM taha333taha ***@***.***> wrote:
@str <https://github.com/str> i moved to *Ion range slider* , it's better
in bootstrap 4 without any errors
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#689 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAum2dpWgnuzd-g51Rxcq5pXfbri_9NDks5sJO4BgaJpZM4LkQ8j>
.
|
@seiyria Thank you for your honesty. I'm more of a consumer than a library developer. I don't feel like an expert to make a PR that works for every browser and doesn't break things. @taha333taha thank you for your comment, I think switching will be better for me |
I use this to fix tooltip-arrow in Boostrap4 .slider.slider-horizontal:hover .tooltip.tooltip-main.top .tooltip-arrow:after,
.slider.slider-vertical:hover .tooltip.tooltip-main.top .tooltip-arrow:after {
content: '';
width: 0;
height: 0;
position: absolute;
left: 40%;
bottom: -10px;
border: transparent 5px solid;
border-top: #000 5px solid;
} |
i'll try to help you for this. |
Bootstrap v4 beta is released as of Aug 10 |
we would very much appreciate a PR around this. thanks! |
Bootstrap 4 is final now. Nobody is working on a fix yet? |
Nope, I don't think either of us use this in production so we are in maintenance mode, basically. |
In my opinion, bs3-support can also be dropped. @davidlesieur: are you working on a fork or how do you think we can proceed from here? |
I'd rather not maintain a fork. In my opinion, support for LESS and Bs3 should be dropped from Bootstrap-Slider, otherwise their burden will effectively harm further development of the project. Perhaps a new major release could be Bs4-only, and minimal support for LESS/Bs3 still given through minor releases from the previous version, if anyone cares. If maintainers @seiyria and @rovolution agreed with that, I could probably wrap a PR. |
@davidlesieur if you would be interested in taking on this effort, it would be greatly appreciated!!! |
@rovolution, adding this task to my schedule next week. Not sure I'll have enough time to fix every test case, but it could be a basis for code review and for getting help by other interested parties. |
@davidlesieur that would be awesome! yea even some sort of starting point would be great in order to move towards a new major release |
Starting from the code that @taha333taha shared here, this will work only when you want your tooltip to work with
|
Using Sublime, i simply edit bootstrap-slider.js, replace 'in' with 'show', and the tooltip shows up again. Example :
into
|
@herryswastika Can confirm that this worked, though you also need to replace
To
So it will disappear after first hover. |
@gzimmers |
hellow, i have another simple solution in bootstrap 4. dont use the tooltips from boostrap, use pesudoelement on Example:
|
.tooltip-arrow { |
Can anyone provide guidelines on how to use this with BS4? I read through the above comments, but it's not clear where to start (which branch to checkout, etc!). Thanks! In the meantime, I am starting to use this slider for my Angular app: https://angular-slider.github.io/ng5-slider/ . Would love to shift to this one once BS4 is supported. |
Bootstrap 4, issue after 3 years, a true solution or upgrade ? |
we would really appreciate a PR around BS4 support! |
@davidlesieur was there any effort to pickup the work again on this BS4 support PR? #856 |
@rovolution unfortunately I have not worked on this further and can't promise I'll be able to help much in the short-term. I hope someone from the relatively large userbase can step in! |
@rovolution Could you clarify exactly what the holdup is to getting the PR merged so I can take a crack at it? |
@stevenbuccini its been a while since i took a look at it, so let me pull it down and get back to you. thank you for volunteering to take on this effort! |
@stevenbuccini just pulled down the branch in question and did a quick QA...everything appears to be fine! I think we can go ahead and merge. |
@stevenbuccini will continue conversation in the PR thread |
the BS4 branch has been merged and is available starting on v11.0.0! see CHANGELOG for further details: https://github.com/seiyria/bootstrap-slider/blob/master/CHANGELOG.md#1100--2020-06-03 |
Tooltips are not working in bootstrap v4 alpha 6.
The HTML for tooltips has changed:
Bootstrap 3 html:
Bootstrap 4 html:
We have three things to change:
.top
is now.tooltip-top
.tooltip-arrow
has been removed.in
to.show
After making these changes my tooltip position was still wrong. I fixed this with:
The text was updated successfully, but these errors were encountered: