ps99-api 2.7.0 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -493,7 +493,7 @@ const CollectionConfigIndex: React.FC<CollectionConfigIndexProps> = () => {
|
|
|
493
493
|
});
|
|
494
494
|
|
|
495
495
|
// Pull To Refresh Logic
|
|
496
|
-
const { isRefreshing, pullDistance, onTouchStart, onTouchMove, onTouchEnd, updateScrollTop } = usePullToRefresh({
|
|
496
|
+
const { isRefreshing, pullDistance, onTouchStart, onTouchMove, onTouchEnd, updateScrollTop, isDragging } = usePullToRefresh({
|
|
497
497
|
onRefresh: async () => {
|
|
498
498
|
// Simple reload to fetch new data
|
|
499
499
|
window.location.reload();
|
|
@@ -683,9 +683,10 @@ const CollectionConfigIndex: React.FC<CollectionConfigIndexProps> = () => {
|
|
|
683
683
|
alignItems: 'center',
|
|
684
684
|
justifyContent: 'center',
|
|
685
685
|
overflow: 'hidden',
|
|
686
|
+
overflow: 'hidden',
|
|
686
687
|
backgroundColor: '#f5f5f5',
|
|
687
688
|
zIndex: 5,
|
|
688
|
-
transition: isDragging
|
|
689
|
+
transition: isDragging ? 'none' : 'height 0.3s ease'
|
|
689
690
|
}}>
|
|
690
691
|
{isRefreshing ? (
|
|
691
692
|
<div className="spinner" style={{ width: 24, height: 24, border: '3px solid #ccc', borderTopColor: '#333', borderRadius: '50%' }}></div>
|