wsick / Fayde

Inspired by Silverlight; XAML engine using Javascript and rendering to the HTML5 Canvas.
MIT License
189 stars 27 forks source link

TextBox AcceptsReturn="False" is not working #173

Closed deepaksm1 closed 9 years ago

deepaksm1 commented 9 years ago

TextBox AcceptsReturn="False" is not working. If we press enter key inside textbox it moves to next line. text box should not allow new line characters.

  <TextBox Grid.Row="0"
                 VerticalAlignment="Center"
                 AcceptsReturn="False"                 
                 Width="400"
                 Margin="0,5"                 
                 TextWrapping="NoWrap"/>
deepaksm1 commented 9 years ago

AcceptsReturn working in Firefox, not working in IE11. I am using IE 11 Version: 11.0.9600.17959

BSick7 commented 9 years ago

Microsoft changed IE11's appName to Netscape. This caused Fayde to use the wrong key interop.

BSick7 commented 9 years ago

Retracting last statement, Fayde looks for IE11. Looking deeper to see if key interactions are different in IE11.

BSick7 commented 9 years ago

Fixed in v0.16.55.