Fix/miniapp components issue 949#1091
Open
jinliangqi-qi wants to merge 12 commits intoTencent-TDS:mainfrom
Open
Fix/miniapp components issue 949#1091jinliangqi-qi wants to merge 12 commits intoTencent-TDS:mainfrom
jinliangqi-qi wants to merge 12 commits intoTencent-TDS:mainfrom
Conversation
- 新增 MiniRouterModule,使用 wx.navigateTo API 替代 window.open - 修改页面名称优先级:URL参数 page_name > renderParams.pageName - 支持页面返回功能,navigateTo 失败时降级使用 reLaunch
…encent-TDS#949) - Change maxLength attribute to lowercase 'maxlength' to match WeChat mini program spec - Map web input types to mini program supported types (number, text, etc.)
…TDS#949) - Add resizeWidthFix() and resizeHeightFix() API to IImageAttr - Implement widthFix/heightFix mode in ImageView - Support widthFix/heightFix mode in KRImageView for web - Support widthFix/heightFix mode in MiniImageElement for mini program
…encent-TDS#949) - Add hasRefreshChild detection in setMovableViewScrollEvent TOUCH_BEGIN handler - Only enable pull-to-refresh when refresh child node is detected
…t-TDS#949) - Add two-pass calculation for placeholder offsetTop - First pass: record line index for each placeholder during span processing - Second pass: calculate vertical center offset after line sizes are finalized - Similar to Android: lineMid - phHeight/2
…t-TDS#949) The getPlaceholderSpanRect method in KRRichTextView was only using DOM offsets, which return zero in miniapp environment. This fix prioritizes using the richTextSpanList calculated position data (offsetLeft/offsetTop) for miniapp, while maintaining DOM fallback for H5 platforms. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix: Fix miniapp components issues (#949) & support TextArea