Yousef

Results 221 comments of Yousef

This test reproduces the issue: ``` import * as buffer from "lib0/buffer.js"; import * as t from "lib0/testing.js"; import * as Y from "../src/index.js"; const initialDoc = `EAHT/KvlDwCEru7cnwg9AjsKA4rboOwOAMHZ/cAuBtn9wC4HBsGK26DsDgXZ/cAuBwHBitug7A4Fitug7A4GBgHJ4/fjDQDE+aCZ6AoV+aCZ6AoWAWQC8L7p+AwAwcStl+gBL67u3J8IOAfBru7cnwg2xK2X6AEyCwGBqO6FDADBru7cnwg8ru7cnwg9Awj5oJnoCgDB2f3ALgOu7tyfCD0Cwbuil6ABFLuil6ABFQLB+aCZ6AoDu6KXoAEVBcGI9JOXAweI9JOXAwgFwYj0k5cDBYj0k5cDBgfEsfyUIBWu7tyfCD0BcMT5oJnoChWu7tyfCD0DcHBwwa7u3J8IJq7u3J8IJwEBlIHa/QkAwa7u3J8IOa7u3J8IOgQElJmoxgkAwbH8lCAV+aCZ6AoVCMSUmajGCQf5oJnoChUJZGZzZmRzZmRkxJSZqMYJEPmgmegKFQFkxJSZqMYJEJSZqMYJEQlkZmRmZHNzc3MUru7cnwgAKAEEbWV0YQR0eXBlAXcJIW5vdGVib29rKAEEbWV0YQpjcmVhdGVkX2F0AXtCd+n+uM1gAAcBA2RvYwMIdHlwZWNlbGwHAK7u3J8IAgYEAK7u3J8IAxQjIHRlc3QgcGVybWlzc2lvbnMgMigAru7cnwgCCGJsb2NrLWlkAXcgYTVjMmEzZTlkYWZkNGVmYjg1NDhiYzJmODdkZjM4ZWEoAK7u3J8IAghsYW5ndWFnZQF3CG1hcmtkb3duh67u3J8IAgMIdHlwZWNlbGwHAK7u3J8IGgYEAK7u3J8IGwtleHBvcnQgbGV0IISu7tyfCCYJbWVzc2FnZSA9hK7u3J8ILwIgIoGu7tyfCDEBga7u3J8IMgSBru7cnwg2AYGu7tyfCDcCga7u3J8IOQOEru7cnwg8ASIoAK7u3J8IGghibG9jay1pZAF3IGI1NzRjODM5MjA3MzQyZmRhNDcxOTg0ODFkMDk3OGMzKACu7tyfCBoIbGFuZ3VhZ2UBdwp0eXBlc2NyaXB0Ae2inrAHAAADAvmk+o4FAMGUmajGCQeUmajGCQgDxPmk+o4FApSZqMYJCANzZGYDiPSTlwMAwbH8lCARsfyUIBIGwYj0k5cDBbH8lCASAsGI9JOXAwex/JQgEgEHxK2X6AEAwa7u3J8IMq7u3J8IMwPBxK2X6AECru7cnwgzA8HErZfoAQLErZfoAQMcwa7u3J8IN67u3J8IOA7Bru7cnwgvru7cnwgwAsGu7tyfCDau7tyfCDcBAAIGu6KXoAEAwdn9wC4Fru7cnwg9B8G7opegAQau7tyfCD0Dwbuil6ABBruil6ABBwPBu6KXoAEMu6KXoAEHBcG7opegAQy7opegAQ0Dwbuil6ABFLuil6ABDQsD2f3ALgDBgajuhQwCru7cnwg9BMH5oJnoCgGu7tyfCD0Dwdn9wC4Gru7cnwg9AgOx/JQgAMH5oJnoCgP5oJnoCgQMwbuil6ABCa7u3J8IPQbBsfyUIBGu7tyfCD0EDq7u3J8IATILxK2X6AEBADXtop6wBwEAA4Go7oUMAQAD8L7p+AwBABKUgdr9CQEABNn9wC4BAAn5oJnoCgIAFRkBu6KXoAEBACCK26DsDgEADbH8lCABABaI9JOXAwEACZSZqMYJAQAI+aT6jgUBAAM=`; const update...

Hi, I think this is a working implementation of toDOM: ``` toDOM (_document = document, hooks, binding) { const outerDom = _document.createDocumentFragment() // @ts-ignore const children = this.toDelta().map(delta => {...

I'm running into a similar issue. My codebase uses a custom TS Worker as well, e.g.: ``` import { TypeScriptWorker } from "monaco-editor/esm/vs/language/typescript/tsWorker"; export class CustomTypeScriptWorker extends TypeScriptWorker { ......

> Do you get the same result when you add `lm.disable=true` to your request? Yes, both appear to give the exact same results

We noticed that changing: `createRouter().calcPath(from.getSnap().getClosestNode(), to.getSnap().getClosestNode(), from.isOnDirectedEdge() ? from.getOutgoingVirtualEdge().getEdge() : EdgeIterator.ANY_EDGE, to.isOnDirectedEdge() ? to.getIncomingVirtualEdge().getEdge() : EdgeIterator.ANY_EDGE);` to `createRouter().calcPath(from.getSnap().getClosestNode(), to.getSnap().getClosestNode(), EdgeIterator.ANY_EDGE, EdgeIterator.ANY_EDGE);` in the MapMatching code (i,e: remove the directededge options)...

Any other errors showing up in the console? Seems like it's not loading the library correctly. If you can, please share your complete code / fiddle.

Good suggestion, will keep this open for the next release!

fixed, use ng-init to set indexVM.autoLoad=false

Can you provide a jsfiddle or similar of the issue?

Can you try putting ng-init="indexVM.autoLoad=false" on the same element as eui-index? ()