Selection issue with Multiple containers when text re-flows
Hi,
I am building an EPUB reader in Flex 4.51. using TLF 2.0.3. I have text running across multiple containers. We add the controllers dynamically to ensure that there are as many containers as the content can have. Now, we updateAllControllers when status of a graphic element changes or when there's an increase in font size. So, after each activity we add more controllers if required. The text and images correctly reflow to the next container in this case. However, the issue comes with selection. If a piece of text reflows from one container and moves to another, when we try to select it, it doesn't highlight.
The SelectionChange event triggers and the values are mostly correct but no highlighing. We noticed that if we remove all controllers and recreate them, the issue is resolved. But, we cannot remove and add containers each time font size changes.
Kindly help and let me know where can the issue be? Remember that the text correctly reflows to containers and it's only the selection that doesn't work. This is a very common scenario for a reflowable content holder so I am sure I am missing something obvious. Please help.
