Socket
Socket
Sign inDemoInstall

nuke-input

Package Overview
Dependencies
Maintainers
3
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-input - npm Package Compare versions

Comparing version 0.3.14 to 0.3.15

docs/textarea.md

4

HISTORY.md
# Changelog
## 0.3.15 / 2017-06-20
* [[a18a6c7](http://gitlab.alibaba-inc.com/nuke/input/commit/a18a6c79a404ecc8afff5aa00fc1d9ddbe4fcef2)] - `fix` add textarea type=text
## 0.3.14 / 2017-06-19

@@ -5,0 +9,0 @@

6

lib/index.js

@@ -234,3 +234,5 @@ /** @jsx createElement */

} else {
inputElement = (0, _rax.createElement)('textarea', _extends({ ref: 'input', style: [elementStyle, { paddingTop: '4rem' }] }, attrs, this.pickAttrs(others)));
// type="text" 修一个 return key 的bug http://dotwe.org/weex/6a75d9164c4186c9a9d46b51daed6b2e
// 如果不加 type="text" ,return key 可能会出问题
inputElement = (0, _rax.createElement)('textarea', _extends({ type: 'text', ref: 'input', style: [elementStyle, { paddingTop: '4rem' }] }, attrs, this.pickAttrs(others)));
}

@@ -415,3 +417,3 @@ } else {

value: function returnHandler(e) {
this.trigger('onReturn', genEventObject(e));
this.trigger('onReturn', e);
}

@@ -418,0 +420,0 @@ }, {

{
"name": "nuke-input",
"version": "0.3.14",
"version": "0.3.15",
"description": "输入框",

@@ -5,0 +5,0 @@ "main": "lib/index",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc