fastn icon indicating copy to clipboard operation
fastn copied to clipboard

run-away memory growth on incorrect code

Open amitu opened this issue 2 years ago • 0 comments

-- component notification:
boolean $open: false

-- ftd.column:
width: fill-container
$on-click$: $ftd.toggle($a = $notification.open)
$on-click-outside$: $ftd.set-boolean($a = $notification.open, v = false)

-- ftd.image:
src: $assets.files.slides.assets.notification.svg
width.fixed.px: 24
height.fixed.px: 24

-- notification-popup:
$open: $notification.open

-- end: ftd.column

-- end: notification


-- component notification-popup:
boolean $open:

-- ftd.column:
if: { notification.pop-up }
width.fixed.px: 366
min-height.fixed.px: 511
background.solid: $inherited.colors.background.base
border-color: $inherited.colors.border
border-radius.px: 8
border-width.px: 1
anchor: parent
right.px: -60
top.px: 67

-- ftd.row:
width: fill-container
spacing: space-between
padding.px: 16
border-bottom-width.px: 1
border-color: $inherited.colors.border
role: $inherited.types.button-small

-- ftd.text: Notifications
color: $inherited.colors.text

-- ftd.text: Mark all as read
color: $inherited.colors.info.text

-- end: ftd.row

-- end: ftd.column

-- end: notification-popup

Had to restart my machine.

amitu avatar Dec 02 '23 16:12 amitu