D5408: Don't forward keys until the recipient is ready
    Aleix Pol Gonzalez 
    noreply at phabricator.kde.org
       
    Wed Apr 12 13:46:42 UTC 2017
    
    
  
apol added a comment.
  In https://phabricator.kde.org/D5408#101552, @apol wrote:
  
  > I just tested this, I get this error message:
  >  `file:///home/apol/devel/kde5/lib64/qml/org/kde/kirigami.2/ScrollablePage.qml:132: TypeError: Cannot read property 'Component' of null`
  
  
  This seems to do the trick:
  `Keys.forwardTo: root.keyboardNavigationEnabled && ("currentItem" in root.flickable) && root.flickable.currentItem && root.flickable.currentItem.Component.status == Component.Ready ? [ root.flickable.currentItem ] : []`
REPOSITORY
  R169 Kirigami
REVISION DETAIL
  https://phabricator.kde.org/D5408
To: leinir, apol, #kirigami, mart
Cc: plasma-devel, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170412/43eb53d6/attachment-0001.html>
    
    
More information about the Plasma-devel
mailing list