[
https://issues.apache.org/jira/browse/NIFI-3217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15754977#comment-15754977
]
Scott Aslan commented on NIFI-3217:
-----------------------------------
The reason this is happening is because the dialogs and shells are (since 1.0)
responsive and as such we must 'resize' any visible slickgrids (which are not
responsive) when a window resize occurs:
https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas.js#L560.
This calls into makeActiveCellNormal()
https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/jquery/slickgrid/slick.grid.js#L1636
which then destroys any active editor of that cell:
https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/jquery/slickgrid/slick.grid.js#L2558.
I am not sure how (in this use case) we could support keeping the editors open
without modifying the slickgrid lib...
> Resizing browser closes property entry textbox
> ----------------------------------------------
>
> Key: NIFI-3217
> URL: https://issues.apache.org/jira/browse/NIFI-3217
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core UI
> Affects Versions: 1.1.0
> Reporter: Joseph Percivall
> Priority: Minor
>
> Steps to reproduce
> 1: Have processor on graph
> 2: Open processor config window
> 3: Click to edit the value of a property (opens the entry textbox)
> 4: With the textbox open, resize the Browser Window
> 5: See the textbox automatically close
> Preferably, this should instead stay open.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)