Am using “esri/dijit/Bookmarks” from “Store bookmarks client side” sample in esri javascript api site. When I delete any of the added bookmark the bookmark gets deleted. But when I refresh the page, the deleted bookmark is retained and by default the first added bookmark gets removed. I have attached images of output.
I added 4 bookmarks.
I removed bookmark number 3.
After deleting, I immediately refresh page and number 1 bookmark gets removed instead of Number 3 bookmark which I removed.
I went through the live sample and the same problem is repeated.