Comments (3)
Hi,
In my case the problem was in a boostrap modal and the fix was this :
$('#createLinkModal').on('shown.bs.modal', function (e) { $(document).off('focusin.modal'); });
from bootstrap-iconpicker.
Solution:
$.widget( "ui.dialog", $.ui.dialog, {
/*! jQuery UI - v1.10.2 - 2013-12-12
* http://bugs.jqueryui.com/ticket/9087#comment:27 - bugfix
* http://bugs.jqueryui.com/ticket/4727#comment:23 - bugfix
* allowInteraction fix to accommodate windowed editors
*/
_allowInteraction: function( event ) {
if ( this._super( event ) ) {
return true;
}
// address interaction issues with general iframes with the dialog
if ( event.target.ownerDocument != this.document[ 0 ] ) {
return true;
}
// address interaction issues with popover dialog
if ( $( event.target ).closest( ".popover" ).length ) {
return true;
}
// address interaction issues with dialog window
if ( $( event.target ).closest( ".cke_dialog" ).length ) {
return true;
}
// address interaction issues with iframe based drop downs in IE
if ( $( event.target ).closest( ".cke" ).length ) {
return true;
}
},
/*! jQuery UI - v1.10.2 - 2013-10-28
* http://dev.ckeditor.com/ticket/10269 - bugfix
* moveToTop fix to accommodate windowed editors
*/
_moveToTop: function ( event, silent ) {
if ( !event || !this.options.modal ) {
this._super( event, silent );
}
}
});
from bootstrap-iconpicker.
That results in an Uncaught TypeError for me. It says it cannot read property 'dialog' of undefined. This fix is specific to jQuery and people might be using bootstrap or some other solution in which case this fix isn't going to work.
from bootstrap-iconpicker.
Related Issues (20)
- will this support bootstrap5 in the furture? HOT 2
- support for fontawesome5 pro icons?
- Is this Plugin maintained?
- npm package HOT 3
- Show only FontAwesome 4.7 icons HOT 1
- selectedClass not being added with custom icon set
- CSS overwrites BS styling for .popover
- Problem size popover and input-group button HOT 1
- A search box does not work within a modal. HOT 1
- Adding support for iconset version change
- Search is case sensitive, but icons are all lower case
- 'setIcon' doesn't add the selectedClass to the icon
- FR: add 'get...' functions
- [Feature Request]: Multiple Iconsets
- Using js to set the iconpicker to a button hides it behind bootstrap modals. HOT 1
- Initializes an iconpicker with options not working
- Provided: Add latest fontawesome 5 (5.14.0_pro)
- How to use bootstrap-iconpicker with react? HOT 1
- Would you accept a PR adding support for Line-Awesome?
- Tiktok Icon Missing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap-iconpicker.