After updating to bootstrap 2.3.0 I noticed strange behaviour of popover tooltip.
If you enter the field and try to navigate away, tooltip would disappear and hide input field. This issue occurs only with latest version of bootstrap, not sure what exactly was changed, but 2.2.2 works well with Prototype.
jQuery.noConflict();
jQuery('input[data-content]').popover({
trigger: 'focus'
});
Here is working example: http://jsfiddle.net/U6EDs/4/
This github issue https://github.com/twitter/bootstrap/issues/6921 describes what you are seeing. I am copying the information from the issue.
these lines in bootstrap-tooltip.js cause the problem:
, hide: function () {
var that = this
, $tip = this.tip()
, e = $.Event('hide') ///this line
this.$element.trigger(e) /// this line
if (e.isDefaultPrevented()) return //and this line
PrototypeJS adds methods to the Element prototype so when jQuery tries to trigger the hide()
method on an element it is actually firing the PrototypeJS hide()
method, which is equivalent to the jQuery hide()
method and sets the style of the element to display:none;
You have a few options
http://github.com/jwestbrook/bootstrap-prototype
*****DISCLAIMER***
I am the developer that is currently porting the BootStrap JS components to PrototypeJS