We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8abd353 commit bf3e635Copy full SHA for bf3e635
1 file changed
lib/datatip-manager.js
@@ -284,7 +284,9 @@ module.exports = class DatatipManager {
284
if (provider) {
285
const datatip = await provider.datatip(editor, position, evt);
286
287
- if (datatip) {
+ if (!datatip) {
288
+ this.unmountDataTip();
289
+ } else {
290
// omit update of UI if the range is the same as the current one
291
if (this.currentMarkerRange != null && datatip.range.intersectsWith(this.currentMarkerRange)) { return; }
292
// make sure we are still on the same position
0 commit comments