Is the problem you're experiencing caused by the dropdown in any way or are you just seeing a difference in when the pop-up is hidden in IE generally?
On Tue, Nov 3, 2015 at 7:41 AM Kristoffer Jälén <kristoffer.ja...@gmail.com> wrote: > I have a Annotator custom plugin that renders a select element inside the > annotation when used together with the Store plugin. I use the mouse to > select an option. In IE the annotation is closed as soon as I move the > mouse. Chrome works fine (annotation stays visible). > > Annotator.Plugin.DropDown = function (element) { > var plugin = {}; > plugin.pluginInit = function () { > this.annotator.viewer.addField({ > load: function (field, annotation) { > var htmlCode = '<select onChange="save(this, ' + > annotation.id + ');">'; > htmlCode += '<option value="0">Option 0</option>'; > htmlCode += '<option value="1">Option 1</option>'; > htmlCode += '<option value="2">Option 2</option>'; > htmlCode += '</select>'; > field.innerHTML = htmlCode; > } > }) > }; > return plugin; > } > ... > content.annotator('addPlugin', 'DropDown', {}); > _______________________________________________ > annotator-dev mailing list > annotator-dev@lists.okfn.org > https://lists.okfn.org/mailman/listinfo/annotator-dev > Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev >
_______________________________________________ annotator-dev mailing list annotator-dev@lists.okfn.org https://lists.okfn.org/mailman/listinfo/annotator-dev Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev