fuse-open / fuselibs

Fuselibs is the Uno-libraries that provide the UI framework used in Fuse apps
https://npmjs.com/package/@fuse-open/fuselibs
MIT License
176 stars 72 forks source link

Shadow is not showing to Parent while Chile element ImageFill's image is loading #1200

Open Dhvl-Golakiya opened 6 years ago

Dhvl-Golakiya commented 6 years ago

Hi,

I am using: Fuse Version: 1.9.0 OS: Windows 10 Android: 8.0.0 Device: Oneplus 3

I am making some card stacks where cards are set above one another with some yOffset, zOffset and drop shadow. But when any card has image and image is fetching from server, the shadow is not showing. After loading image first time, if you open same card second time, shadow is showing.

The sample project is attached.

ShadowNotShow.zip

Steps to reproduce the issue

  1. Click on Add Card button
  2. After adding one card, immediately click Add Card button again and new card will add
  3. If still images are loading, tap again to add another card

Here, you will see, shadow of each card is hidden. After loading all image, tap back button to close card and again do step 1 to 3, noew you will see shadow.

The screenshots of output.

Expected result: screenshot_20180626-125040

Actual result while loading images: screenshot_20180626-125031

Is any way that we can fetch images in background so it will not affect to UI?

gchiocchio commented 6 years ago

The issue is probably caused from Completed tag on CardPage.ux, this trigger fires when all node aren't in state busy or loading (or downloading) (https://fuse-open.github.io/docs/fuse/triggers/completed.html). Have you any other tried other trigger?