easysoft / easysoft/zui

对话框触发器位置问题

Open
#129 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
2.8k
Forks
678
Avg merge
6d 21h
Merged PRs (30d)
7

Description

版本1.8.1
问题表现:
位置会跳动
操作如下:
var htmls='<p>hello</p>';
var ModalTrigger = new $.zui.ModalTrigger({
name: 'ModalTrigger',
custom: htmls,
position:'center'
})
ModalTrigger.show();

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start from the ModalTrigger entry point, reproduce the position jump using the provided custom HTML and position: 'center' configuration on version 1.8.1, and determine whether the dialog remains centered consistently when shown.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.