opencti icon indicating copy to clipboard operation
opencti copied to clipboard

Dropdown is not showing loading while data is being fetched

Open anhthiencao opened this issue 3 years ago • 2 comments

Description

Dropdown show "No available options" while data is not ready

Environment

  1. OS (where OpenCTI server runs): Mac OS 12
  2. OpenCTI version: 5.3.7
  3. OpenCTI client: frontend
  4. Other environment details: Firefox 98.0

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. Go to Threat
  2. Click button Create a threat actor
  3. Click dropdown External References

Expected Output

Dropdown should show loading while data is not ready. It should only show "No available options" once data is empty

Actual Output

Dropdown show "No available options" while data is not ready

Additional information

This issue happend in all dropdown have dynamic data

Screenshots (optional)

Screen Shot 2022-07-13 at 13 14 02

If the feature request is approved, would you be willing to submit a PR?

anhthiencao avatar Jul 13 '22 06:07 anhthiencao

Hello @anhthiencao,

I don't have any problem on the demo instance (Chrome or Firefox latest version). Can you confirm the problem is still there? Maybe the demo was overloaded when you tried.

Can you also try with the latest version of Firefox?

Thanks!

Kind regards, Samuel

SamuelHassine avatar Jul 13 '22 10:07 SamuelHassine

This problem just happened in a little bit, maybe your connection is fast so you can't see it. You can try it with slow 3G in Chrome browser

anhthiencao avatar Jul 13 '22 11:07 anhthiencao