Jonas Jenwald
d3c0f2861b
Delay initialization of searching, in the viewer, until the first page has rendered
...
When searching occurs for the first time in a document, the `textContent` of all pages will be fetched from the API. If there's a pending search operation when the document loads that will thus lead to a lot of `getTextContent` calls very early on, which may unnecessarily delay rendering of the first page. Generally, in the viewer, a number of non-essential API calls[1] will be deferred until the first page has been rendered, and there's no good reason as far as I can tell to handle searching differently.
---
[1] Such as e.g. `getOutline` and `getAttachments`.
2019-07-06 17:33:28 +02:00
..
2018-05-14 23:10:32 -04:00
2018-11-23 13:50:28 +01:00
2015-01-26 16:44:45 +01:00
2019-05-05 14:51:03 +02:00
2018-02-13 14:28:38 +01:00
2019-05-24 14:01:26 +02:00
2019-05-11 14:27:21 +02:00
2019-07-06 17:33:28 +02:00
2015-08-14 18:59:55 +02:00
2019-02-02 10:21:18 +01:00
2011-07-05 10:53:57 -07:00
2019-01-22 13:22:36 +01:00
2019-05-11 14:27:21 +02:00
2019-06-10 17:45:28 +02:00
2019-04-06 12:53:33 +02:00
2018-09-03 09:52:36 +02:00
2018-09-03 09:52:36 +02:00
2019-05-11 14:27:21 +02:00
2019-01-06 20:09:02 +01:00
2018-09-03 09:52:36 +02:00
2019-05-11 14:27:21 +02:00
2018-03-01 18:11:17 +01:00
2018-07-08 10:55:56 +02:00
2019-05-11 14:27:21 +02:00
2019-01-16 20:15:44 +01:00
2019-06-10 21:04:47 +02:00
2018-09-10 11:59:29 +02:00
2019-01-16 19:26:44 +01:00
2018-11-03 12:03:11 +01:00
2019-06-07 12:26:23 +02:00
2019-02-16 11:11:07 +01:00
2018-08-30 10:39:32 +02:00
2019-05-24 14:01:26 +02:00
2019-02-25 12:20:51 +01:00
2017-12-02 19:05:17 +01:00
2019-02-24 13:15:24 +01:00
2019-01-24 12:01:07 +01:00
2019-02-16 11:11:07 +01:00
2018-12-21 11:55:20 +01:00
2018-10-31 23:32:39 +01:00
2018-05-14 23:10:32 -04:00
2019-01-24 10:31:06 +01:00
2017-11-05 16:53:47 +01:00
2019-03-03 12:51:57 +01:00
2019-02-06 17:18:45 +01:00
2018-11-18 15:54:08 +01:00
2019-02-16 11:11:04 +01:00
2018-10-12 15:41:11 +02:00
2019-02-02 10:21:18 +01:00
2018-09-03 09:52:36 +02:00
2018-06-14 12:25:28 +02:00
2017-05-31 09:22:25 -05:00
2018-03-21 18:21:46 +01:00
2019-01-23 20:33:20 +01:00
2016-02-14 13:23:34 +01:00
2017-05-31 09:22:25 -05:00
2018-12-18 22:48:26 +01:00
2018-09-10 11:59:29 +02:00
2018-11-30 10:04:30 +01:00