Skip to content

Commit

Permalink
listing flickering correction
Browse files Browse the repository at this point in the history
  • Loading branch information
rnunez80 committed Dec 20, 2024
1 parent 7c6cfe2 commit 8d834b3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions src/Advanced.css
Original file line number Diff line number Diff line change
Expand Up @@ -474,3 +474,23 @@ p.effectiveDate {
pointer-events: none;
outline: none; /* Remove focus outlines */
}

/* withQuerystringResults.css */

.fade-enter {
opacity: 0;
}

.fade-enter-active {
opacity: 1;
transition: opacity 500ms ease-in-out;
}

.fade-exit {
opacity: 1;
}

.fade-exit-active {
opacity: 0;
transition: opacity 500ms ease-in-out;
}
4 changes: 2 additions & 2 deletions src/CommonItemRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const CommonItemRenderer = ({
);

return (
<>
<div className='fade-in loaded'>
{processedItems.map(item => (
<div key={item['@id']} className='ui one column grid advanced-item'>
<div className={`column ${imageSide}`}>
Expand Down Expand Up @@ -194,7 +194,7 @@ const CommonItemRenderer = ({
</div>
</div>
))}
</>
</div>
);
};

Expand Down

0 comments on commit 8d834b3

Please sign in to comment.