mi6 / ic-ui-kit

Intelligence Community UI Kit (based on StencilJS)
MIT License
19 stars 23 forks source link

[is-search-bar] external loading storybook examples aren't working as expected #1939

Open GCHQ-Developer-530 opened 1 month ago

GCHQ-Developer-530 commented 1 month ago

Summary of the bug

On first load of the external loading storybook examples, the search bar requires a wait before the next character before it actually searches. It should only need the wait before it loads.

Need to determine if this is just a storybook nuance or if there's something wrong with how search bar handles loading.

🪜 How to reproduce

Tell us the steps to reproduce the problem: See @ad9242's comment on a previous PR: https://github.com/mi6/ic-ui-kit/pull/1919#discussion_r1618358266

🧐 Expected behaviour

Either decide whether it's just a storybook issue, or fix it so that it doesn't require the extra character.

MI6-286 commented 2 weeks ago

Once issue is determined and fixed if applicable, add Cypress e2e and visual regression test for IcSearchBar to cover functionality.