cnjinhao / nana

a modern C++ GUI library
https://nana.acemind.cn
Boost Software License 1.0
2.33k stars 335 forks source link

Bug - Scroll input in nested_form causes main thread to stop #505

Closed Moon-ChangHyun closed 4 years ago

Moon-ChangHyun commented 4 years ago

This bug occurred in release 1.7.2 This bug occurs even without adding a scroll event handler to the nested_form. The following code shows the bug.

using namespace nana;
int main () {
    form fm;
    nested_form nfm(fm);
    fm.caption("test");
    fm.div("<f_nestedForm>");
    fm["f_nestedForm"] << nfm;
    fm.collocate();
    fm.show();
    exec();
}
cnjinhao commented 4 years ago

Fixed! Thank you for reporting this issue. A fix has been checked into the hotfix-1.7.3 branch