Ashok Kumar M

Results 18 issues of Ashok Kumar M

- with layouts that have a widget which uses label. This happens because of the additional padding that we add to all other widgets and bottom align them. These values...

Anvil POD

[![workerB](https://img.shields.io/endpoint?url=https%3A%2F%2Fworkerb.linearb.io%2Fv2%2Fbadge%2Fprivate%2FU2FsdGVkX1QS4I0hOoNK4mMZphl6PrKO7OoqLeQrQ%2Fcollaboration.svg%3FcacheSeconds%3D60)](https://workerb.linearb.io/v2/badge/collaboration-page?magicLinkId=C6p2w9c) ## Description In this PR we are making sure the evaluated values of elevatedBackground(prop that indicates if a section or zone if elevated) is used instead of the unevaluated...

Bug
Enhancement
High
Regressed
Medium
Anvil POD
Anvil team
ok-to-test

[![workerB](https://img.shields.io/endpoint?url=https%3A%2F%2Fworkerb.linearb.io%2Fv2%2Fbadge%2Fprivate%2FU2FsdGVkX14yqgk46bo7XRJuA90NLU3E993GRhVyI%2Fcollaboration.svg%3FcacheSeconds%3D60)](https://workerb.linearb.io/v2/badge/collaboration-page?magicLinkId=u9xJeyE) ## Description In this Pr we are tackling a few issues. - disallow copy pasting modals into other widgets instead always paste them on the main canvas. - disable...

Bug
High
Task
Anvil POD
WDS team
Anvil team
ok-to-test

index.js ```js index.js export function debounce(func, delay) { var canInvoke = true; var callbackFn; // your answer here return (args)=>{ callbackFn = func.bind(this, args); if(canInvoke){ canInvoke = false setTimeout(()=>{ callbackFn()...

6
answer
javascript

styles.css ```css styles.css body { font-family: sans-serif; } main { display: flex; flex-direction: column; gap: 12px; padding: 20px; align-items: center; } button { display: flex; align-items: center; appearance: none; background-color:...

1
answer
react

index.js ```js index.js export function throttle(cb, delay = 250) { var canInvoke = true; // your answer here return (args)=>{ if(canInvoke){ canInvoke = false setTimeout(()=>{ cb(args) canInvoke = true; },...

answer
javascript
20

index.js ```js index.js export function flatten(arr, depth = 1) { // write your logic here return arr.flat(depth) } ```

answer
javascript
18

components/very-slow-component.jsx ```jsx components/very-slow-component.jsx import React from "react"; const wait = (ms) => { const start = Date.now(); let now = start; while (now - start < ms) now = Date.now();...

answer
react
16