We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8abd353 + bf3e635 commit b0b6c70Copy full SHA for b0b6c70
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