# wrap button not showing text

**URL:** https://support.prodi.gy/t/wrap-button-not-showing-text/7225
**Category:** Uncategorized
**Created:** [May 13, 2024, 1:58pm UTC](https://support.prodi.gy/t/wrap-button-not-showing-text/7225 "2024-05-13T13:58:59Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![tlingren](https://avatars.discourse-cdn.com/v4/letter/t/c2a13f/32.png) [@tlingren](https://support.prodi.gy/u/tlingren)
#### Post date: [May 13, 2024, 1:58pm UTC](https://support.prodi.gy/t/wrap-button-not-showing-text/7225/1 "2024-05-13T13:58:59Z")

</div>

When using spans and relations, one user reports issue with no images even though there should be text. Using the 'wrap' button the text disappears ?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/prodigy/original/2X/3/388f5298e5f94efe2d26a5398959cff164533aad.jpeg)  
This is noticed in Safari.  
Other symptoms include slow and laggy response, even though the internet connection is fine.

---

<div class="post-metadata">

### Author: ![magdaaniol](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/magdaaniol/32/2787_2.png) [@magdaaniol](https://support.prodi.gy/u/magdaaniol)
#### Post date: [May 14, 2024, 8:45am UTC](https://support.prodi.gy/t/wrap-button-not-showing-text/7225/2 "2024-05-14T08:45:44Z")

</div>

Welcome to the forum @tlingren 👋

The `relations` UI is not performing well with very long documents. It is a known limitation that we still need to work through.  
If your documents are very long ( 7K characters is probably the limit), then you might want to look for sensible ways of splitting your documents in the snippets. Some users also worked around it successfully using a [sliding window](https://support.prodi.gy/t/wrap-breaks-for-long-documents/6891/3) over the long documents.

However of your documents are not particularly long, could you perhaps share one of the examples that doesn't work for you? It's probably a front-end issue, since unwrapped version is being rendered correctly.

---

<div class="post-metadata">

### Author: ![tlingren](https://avatars.discourse-cdn.com/v4/letter/t/c2a13f/32.png) [@tlingren](https://support.prodi.gy/u/tlingren)
#### Post date: [May 14, 2024, 5:25pm UTC](https://support.prodi.gy/t/wrap-button-not-showing-text/7225/3 "2024-05-14T17:25:11Z")

</div>

Thank you. I didn't think size of 7k was a very large document at all.  
The problem we are dealing with does require relations as well as multi token spans, so we are using rel.manual with custom labels for that.  
However, our annotators need to review the end of the document as well as the beginning for the full annotation decision. Is there away to navigate between these split documents (assuming we use a split method) ? Annotations might change, based on later information, for example.

---

<div class="post-metadata">

### Author: ![magdaaniol](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/magdaaniol/32/2787_2.png) [@magdaaniol](https://support.prodi.gy/u/magdaaniol)
#### Post date: [May 15, 2024, 8:43am UTC](https://support.prodi.gy/t/wrap-button-not-showing-text/7225/4 "2024-05-15T08:43:04Z")

</div>

Hi @tlingren,

Just to be clear I meant (roughly) 7K characters referring to the length of a document.  
Before working on the right splitting method, I'd make sure it is indeed the length of the document that causes issue. If you split a single document that currently doesn't render into snippets - do you manage to render each snippet correctly?

And to answer your question about navigating between snippets. Prodigy has a `History` buffer visible to annotators in the bottom left corner.

 ![Screenshot 2024-05-15 at 09.33.04](https://us1.discourse-cdn.com/flex020/uploads/prodigy/original/2X/0/09d1f3742bc44a8da7099a9e9f3bf53c3de2b87c.png)

If you want to go back an reannotate an example from the history you can click on it and it will show up in the main annotation panel for edition.  
The size of this history is the same as`batch_size` setting (10 by default). Once the the examples are saved in the DB and they will automatically be saved every 10 examples (or whatever your `batch_size` is), it will no longer be possible to undo or edit.  
In your case you'd have to make sure then that the `batch_size` is at least as big as the max number of snippets per document.  
Also, if you will go ahead with the snippeting make sure to store the document ID and snippet ID in `meta` of each example. It will be helpful for any further merging, splitting and also for computing train/dev/test splits on document level.
