igniteui-angular
igniteui-angular copied to clipboard
The Value of the igxTextHighlight directive shows up twice when calling highlight()
Description
The Value of the igxTextHighlight directive shows up twice when calling highlight()
- igniteui-angular version: 6.0.x, 6.1.x
- browser: all
NOTES:
- The most-top element in our application's template gets hidden when the issue gets reproduced.
Steps to reproduce
- Download and run the sample applicaiton.
- Type "lorem" in the input.
Result
The Value of the igxTextHighlight directive shows up twice
Expected result
The Value of the igxTextHighlight directive shows up once (with the highlights)
Attachments
This isn't a bug, the sample is not set up properly. The div to which we apply the IgxTextHighlight directive needs to be the only child on it's level. so you need to wrap it in another div. See the modified sample for reference.