Flickering occurs for the field if there is a JavaScript logic for that (even if you clicked any other field)
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- angular, typescript
- 領域
- frontend
研究方向
首先,按照重現步驟中的描述,在包含 Checkbox Field 和 owl date picker 的 Angular 表單預覽中,使用 console.log(123) 之類的 JavaScript 邏輯重現問題。追蹤點選核取方塊時執行的呈現或變更處理;當核取方塊互動不再造成明顯閃爍時,即表示完成。
由索引模型根據 Issue 內容生成。
描述
- Hosting type: local and https environments as well
- Formio.js version: 4.12.0 ("angular-formio": "4.12.0")
- Frontend framework: Angular
- Browser: Chrome and other as well
- Browser version: all versions (but check in latest version)
Steps to Reproduce
- Drag and drop the Checkbox Field component & save it with normal configurations
- Drag and drop one custom date picker component (we used owl date picker with version i.e., "ng-pick-datetime": "^7.0.0"). Add logic to this component in js (you can add simple console.log(123) or some condition )
- Now, While Previewing in other page, Just click on Checkbox (configured in first step)
Expected behavior
Not expecting to flicker
Observed behavior
Example
If possible, please provide a screenshot, live example (via JSFiddle or similar), and/or example code to help demonstrate the issue.
Normal View:
I clicked on checkbox (enable mode) it flickered again i unchecked the checkbox, The View after clicking on Checkbox below(flickering happening for one sec)
For code or form JSON, please enclose in a code block:
console.log("abc")
// or you can write any other condition you want
- 主要語言
- TypeScript
- 星號
- 706
- 分支
- 493
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 沒有貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
formio/angular 的其他 Issue
-
question
難度 3/5 1-2 天 新手友好度 55/100
-
[BUG] <form-builder> move icon is missing可能重新可做 @PrathameshHegde 於 99 天前認領,目前沒有進行中的 PR。 未關閉bug
-
question
難度 2/5 1-3 小時 新手友好度 25/100
-
[BUG] "Left (Right-aligned)" label position causes misaligned error messages and descriptions可能重新可做 @Victoriya25 於 363 天前認領,目前沒有進行中的 PR。 未關閉bug
-
question
難度 5/5 一週以上 新手友好度 25/100
相似的 Issue
-
area: batch
難度 2/5 1-3 小時 新手友好度 75/100
inabagumi/shinju-date#7294 ·
維護者通常 1 天內回覆
-
documentation
難度 2/5 1-3 小時 新手友好度 68/100
streaming-video-technology-alliance/common-media-library#700 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
vercel-labs/ui#809 ·
維護者通常 1 天內回覆
-
enhancement
難度 2/5 1-3 小時 新手友好度 67/100
KrisCris/village-in-the-shade-guide#75 ·
維護者通常 1 天內回覆
-
bot:ai-assisted component:platform-js status:untriaged
難度 1/5 1 小時以內 新手友好度 74/100
midnightntwrk/platform-js#38 ·