Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] optimize: input and textarea #695

Closed
wants to merge 28 commits into from
Closed

Conversation

ChrisCindy
Copy link
Contributor

@ChrisCindy ChrisCindy commented Dec 8, 2024

  • fix: maxlength attribute not work
<input maxlength="5" />
  • fix: maxLength property not work
const input = document.createElement('input');
input.maxLength = 5;
  • feat: support keyup and keydown event
const input = document.createElement('input');
input.addEventListener('keyup', function (e) {
  console.log(e.code);
  console.log(e.key);
});
  • fix: vertical align is not centered for placeholder and text in input
  • feat: support selectionStart and selectionEnd
const input = document.querySelector('input')
input.value = '12345';
input.selectionStart = 1;
input.selectionEnd = 3;
input.focus();
  • feat: hide counter when set maxlength
  • fix: set disabled attribute is invalid
<input disabled />
  • feat: support enterkeyhint and inputmode

  • feat: update get keyboard type

  • refactor: make checkbox and radio default style more dense

  <div>
    <input type="checkbox" id="horns" name="horns" />
    <label for="horns">Horns</label>
  </div>
  • refactor: finish radio and checkbox element and its property/attribute management

drugsloveyou and others added 28 commits March 26, 2024 13:45
@andycall
Copy link
Member

migrated to enterprise

@andycall andycall closed this Feb 10, 2025
@soundridge
Copy link

migrated to enterprise

@andycall 你好,我看到有好多 pr 最后都是因为 “migrated to enterprise” 而 close,包括那个对 css 解释器的重写

想问下 webf 后续在企业版跟社区版之间你是如何规划的?

@andycall
Copy link
Member

enterprise 会优先上各种优化,工具和新的功能。

至少会比 opensource 版本领先一年以上

@andycall
Copy link
Member

migrated to enterprise

@andycall 你好,我看到有好多 pr 最后都是因为 “migrated to enterprise” 而 close,包括那个对 css 解释器的重写

想问下 webf 后续在企业版跟社区版之间你是如何规划的?

同时 enterprise 将更加注重性能体验和可开发性,帮助开发者用前端技术做出媲美 native 体验的 flutter app。

目前正在制作首个正式商业版本,并下一代的 flutter widget adapter 作为主要卖点。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants