我正在使用Bootstrap工具提示,它們目前正在我的頁面上被截斷。我刪除溢出-X性能,儘量保證工具提示是可見的,但他們仍然被切掉:容器中的工具提示
我查閱了一些可能的解決方案,但我不能設置的位置該工具提示的固定或改變工具提示的父母,因爲他們需要在我的容器元素滾動:我如何添加工具提示
https://www.youtube.com/watch?v=qoNkpFAHr0o&feature=youtu.be
這裏是:
$('#step_name').tooltip(
{
title: "1. Add step title",
placement: "left",
container: ".editDetailView",
trigger: "manual",
position: "absolute"
});
$('#uploadMedia').tooltip(
{
title: "2. Upload images/videos",
placement: "left",
container: ".editDetailView",
trigger: "manual",
position: "absolute"
});
$('.detailViewText').tooltip(
{
title: "3. Add step description",
placement: "left",
container: ".editDetailView",
trigger: "manual",
position: "absolute"
});
$('.update_step_button').tooltip(
{
title: "4. Click to create step",
placement: "bottom",
container: ".editDetailView",
trigger: "manual",
position: "absolute"
});
這裏是關於容器元素的CSS:
.processBlog{
position: absolute;
overflow: auto;
form{
overflow: auto;
.stepDetailView{
overflow-y: auto;
.editDetailView{
position: relative;
overflow-y: hidden;
}
}
}
}
你可以把鏈接發給哪裏出現此問題,或者至少創建一個的jsfiddle的頁面? – ray9209