ic-ui-kit icon indicating copy to clipboard operation
ic-ui-kit copied to clipboard

[ic-search-bar] external loading storybook examples aren't working as expected

Open GCHQ-Developer-530 opened this issue 1 year ago • 2 comments

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.

GCHQ-Developer-530 avatar May 30 '24 12:05 GCHQ-Developer-530

Once issue is determined and fixed if applicable, edit the external loading IcSearchBar Cypress tests as they currently have a wait between the first and second characters being entered.

MI6-286 avatar Jun 17 '24 13:06 MI6-286

If it's Storybook only, consider benching this

MI6-255 avatar Jul 17 '24 09:07 MI6-255

After investigation this is a bug within ic-search-bar, ticket #3116 created

gd2910 avatar Jan 30 '25 12:01 gd2910