8507

ng-hide/ng-show within an ng-hide/ng-show not working properly in **chrome** on first trigger, secon

Question:

I am having a scenario where an edit input with the suggestion list is there, when I do the entry on ng-change the list appears with the relevant suggestions, and shows exception if no data is available. But in chrome I am having an issues that without the search(ng-change) itself the list with the input appears showing "No data exception"

I am having something like this:

<div ng-show="show on a condition to edit"> <input ng-change="callForservicetoDisplayList()" ng-model="enteredValue"/> <ul ng-show="only when callForservicetoDisplayList function returns value"> <li ng-repeat="outputFromthe callForservicetoDisplayList"></li> </ul> </div>

Here the list appears from before itself in chrome on first edit, second time works fine!

Answer1:

This was a bug ! So This should be fixed in latest 1.4 (1.4.9). You are using an outdated version

<a href="https://github.com/angular/angular.js/issues/13380" rel="nofollow">https://github.com/angular/angular.js/issues/13380</a>

Recommend

  • css font-size and line-height not matching the baseline
  • Certain Arabic text gets incorrectly shown while other Arabic text gets showed normally?
  • How to implement Deep Linking in Roku SG application?
  • hibernate sets dirty flag (and issues update) even though client did not change value
  • SonarQube: Cannot deactivate rule with missing quality profile
  • How to generate and display a QR Code in ionic 2
  • std::remove_copy_if_ valgrind bytes in block are possibly lost in loss record
  • How does document.ready work with angular element directives?
  • presentShareDialogWithParams posts to FB wall, but callback handler results say error
  • Is playing sound in Javascript performance heavy?
  • How to write order and limit within cakephp joins array
  • ActiveRecord query for a count of new users by day
  • Atlas images wrong size on iPad iOS 9
  • Chrome doesn't support silverlight anymore? How to solve this?
  • Google Custom Search with transparent background
  • FileReader+canvas image loading problem
  • Insert into database using onclick function
  • Deselecting radio buttons while keeping the View Model in synch
  • Ajax jQuery multiple calls at the same time - long wait for answer and not able to cancel
  • What is Eclipse's Declaration View used for?
  • Why HTML5 Canvas with a larger size stretch a drawn line?
  • Controls, properties, events and timers running in design time
  • javascript inside java/jsp code
  • Sending data from AppleScript to FileMaker records
  • MySQL WHERE-condition in procedure ignored
  • Can I make an Android app that runs a web view in Chrome 39?
  • Javascript convert timezone issue
  • Updated Ionic CLI but shows previous version (Windows)
  • Android Studio and gradle
  • KeystoneJS: Relationships in Admin UI not updating
  • AngularJs get employee from factory
  • Load html files in TinyMce
  • Setting background image for body element in xhtml (for different monitors and resolutions)
  • embed rChart in Markdown
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?
  • IndexOutOfRangeException on multidimensional array despite using GetLength check
  • How to get NHibernate ISession to cache entity not retrieved by primary key
  • How can i traverse a binary tree from right to left in java?
  • How can I use `wmic` in a Windows PE script?
  • Unable to use reactive element in my shiny app