ignored_by_interaction is always false regardless of what it is set to, but if it is set to true in the same call as setting enabled = false, then enabled = true:
[0.16.36]LuaGuiElement::add gives wrong result for flags
[0.16.36]LuaGuiElement::add gives wrong result for flags
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: [0.16.36]LuaGuiElement::add gives wrong result for flags
Thanks for the report. It's now fixed for the next version of 0.16 or 0.17 - which ever comes first.
If you want to get ahold of me I'm almost always on Discord.